From 1a43b3064dc38a55de4b1d727237806578bb3ef9 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 26 Sep 2017 11:09:35 -0400 Subject: Remove font default params This CL removes some default parameters from the font code. Change-Id: If6f6e09c93474e1e8b7ffaae53eb37dd40c32fab Reviewed-on: https://pdfium-review.googlesource.com/14815 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fgas/font/cfgas_fontmgr.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xfa/fgas/font/cfgas_fontmgr.cpp') diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp index da1763214b..2175a23288 100644 --- a/xfa/fgas/font/cfgas_fontmgr.cpp +++ b/xfa/fgas/font/cfgas_fontmgr.cpp @@ -207,11 +207,11 @@ RetainPtr CFGAS_FontMgr::GetFontByCodePage( return it->second ? LoadFont(it->second, dwFontStyles, wCodePage) : nullptr; } const FX_FONTDESCRIPTOR* pFD = - FindFont(pszFontFamily, dwFontStyles, true, wCodePage); + FindFont(pszFontFamily, dwFontStyles, true, wCodePage, 999, 0); if (!pFD) - pFD = FindFont(nullptr, dwFontStyles, true, wCodePage); + pFD = FindFont(nullptr, dwFontStyles, true, wCodePage, 999, 0); if (!pFD) - pFD = FindFont(nullptr, dwFontStyles, false, wCodePage); + pFD = FindFont(nullptr, dwFontStyles, false, wCodePage, 999, 0); if (!pFD) return nullptr; @@ -276,9 +276,9 @@ RetainPtr CFGAS_FontMgr::LoadFont(const wchar_t* pszFontFamily, return it->second ? LoadFont(it->second, dwFontStyles, wCodePage) : nullptr; const FX_FONTDESCRIPTOR* pFD = - FindFont(pszFontFamily, dwFontStyles, true, wCodePage); + FindFont(pszFontFamily, dwFontStyles, true, wCodePage, 999, 0); if (!pFD) - pFD = FindFont(pszFontFamily, dwFontStyles, false, wCodePage); + pFD = FindFont(pszFontFamily, dwFontStyles, false, wCodePage, 999, 0); if (!pFD) return nullptr; -- cgit v1.2.3