diff options
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/cfx_systemhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/cfx_systemhandler.cpp b/fpdfsdk/cfx_systemhandler.cpp index bfa80df126..72cb9f57ed 100644 --- a/fpdfsdk/cfx_systemhandler.cpp +++ b/fpdfsdk/cfx_systemhandler.cpp @@ -106,6 +106,10 @@ bool CFX_SystemHandler::FindNativeTrueTypeFont(CFX_ByteString sFontFaceName) { if (font.Compare(sFontFaceName.AsStringC())) return true; } + for (const auto& fontPair : pFontMapper->m_LocalizedTTFonts) { + if (fontPair.first.Compare(sFontFaceName.AsStringC())) + return true; + } return false; } |