diff options
Diffstat (limited to 'xfa/fgas/font/cfgas_fontmgr.cpp')
-rw-r--r-- | xfa/fgas/font/cfgas_fontmgr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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_GEFont> 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_GEFont> 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; |