From 032b3bed2b1888f1226e1d940fe41e9a09d2336c Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 17 Aug 2018 23:52:57 +0000 Subject: Ger rid of some #defines in Android font code. Change-Id: Ia3f98fb166743c2a38954b279e3bbf96e5e09073 Reviewed-on: https://pdfium-review.googlesource.com/40591 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- core/fxge/android/cfx_androidfontinfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/fxge/android/cfx_androidfontinfo.cpp') diff --git a/core/fxge/android/cfx_androidfontinfo.cpp b/core/fxge/android/cfx_androidfontinfo.cpp index 61d213edd6..20776414ab 100644 --- a/core/fxge/android/cfx_androidfontinfo.cpp +++ b/core/fxge/android/cfx_androidfontinfo.cpp @@ -45,8 +45,7 @@ void* CFX_AndroidFontInfo::MapFont(int weight, dwStyle |= FXFONT_SCRIPT; if (FontFamilyIsRoman(pitch_family)) dwStyle |= FXFONT_SERIF; - return m_pFontMgr->CreateFont(face, charset, dwStyle, - FPF_MATCHFONT_REPLACEANSI); + return m_pFontMgr->CreateFont(face, charset, dwStyle); } void* CFX_AndroidFontInfo::GetFont(const char* face) { -- cgit v1.2.3