Index: fpdfsdk/fsdk_mgr.cpp |
diff --git a/fpdfsdk/fsdk_mgr.cpp b/fpdfsdk/fsdk_mgr.cpp |
index 323128c9fe7e80fd82a471e05bc312a366d9b07a..cc228eb8b9d1450ec28d2956c9dfaede74f79b5e 100644 |
--- a/fpdfsdk/fsdk_mgr.cpp |
+++ b/fpdfsdk/fsdk_mgr.cpp |
@@ -186,7 +186,7 @@ FX_BOOL CFX_SystemHandler::FindNativeTrueTypeFont( |
pFontMapper->LoadInstalledFonts(); |
for (const auto& font : pFontMapper->m_InstalledTTFonts) { |
- if (font.Compare(sFontFaceName)) |
+ if (font.Compare(sFontFaceName.AsByteStringC())) |
return TRUE; |
} |