Index: fpdfsdk/cfx_systemhandler.cpp |
diff --git a/fpdfsdk/cfx_systemhandler.cpp b/fpdfsdk/cfx_systemhandler.cpp |
index 541ef2ba647dd7bbcf88ae47a01f4f7a58df181b..f38be4c3e8345c2e7faa194d034568009046ca12 100644 |
--- a/fpdfsdk/cfx_systemhandler.cpp |
+++ b/fpdfsdk/cfx_systemhandler.cpp |
@@ -121,8 +121,8 @@ CPDF_Font* CFX_SystemHandler::AddNativeTrueTypeFontToPDF( |
return nullptr; |
std::unique_ptr<CFX_Font> pFXFont(new CFX_Font); |
- pFXFont->LoadSubst(sFontFaceName, TRUE, 0, 0, 0, CharSet2CP(nCharset), false); |
- return pDoc->AddFont(pFXFont.get(), nCharset, FALSE); |
+ pFXFont->LoadSubst(sFontFaceName, true, 0, 0, 0, CharSet2CP(nCharset), false); |
+ return pDoc->AddFont(pFXFont.get(), nCharset, false); |
} |
int32_t CFX_SystemHandler::SetTimer(int32_t uElapse, |