Index: fpdfsdk/cfx_systemhandler.cpp |
diff --git a/fpdfsdk/cfx_systemhandler.cpp b/fpdfsdk/cfx_systemhandler.cpp |
index adcc5bee566f2e2ba7bb542b6dbb0a4fbadb41e2..35f4652b2903485e36cec45ec95296c9c1f87113 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; |
} |