| Index: xfa/src/fxfa/src/app/xfa_fontmgr.cpp
|
| diff --git a/xfa/src/fxfa/src/app/xfa_fontmgr.cpp b/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
|
| index 3bc03872df7f98f44d29531114f9c7a7702c70b0..57061deb1fd8fe5787df2aaa4b84f2eab3c6797e 100644
|
| --- a/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
|
| +++ b/xfa/src/fxfa/src/app/xfa_fontmgr.cpp
|
| @@ -1854,11 +1854,11 @@ IFX_Font* CXFA_PDFFontMgr::FindFont(CFX_ByteString strPsName,
|
| return NULL;
|
| }
|
| CPDF_Dictionary* pFontSetDict =
|
| - pDoc->GetRoot()->GetDict("AcroForm")->GetDict("DR");
|
| + pDoc->GetRoot()->GetDictBy("AcroForm")->GetDictBy("DR");
|
| if (!pFontSetDict) {
|
| return NULL;
|
| }
|
| - pFontSetDict = (CPDF_Dictionary*)pFontSetDict->GetDict("Font");
|
| + pFontSetDict = (CPDF_Dictionary*)pFontSetDict->GetDictBy("Font");
|
| if (!pFontSetDict) {
|
| return NULL;
|
| }
|
| @@ -1875,7 +1875,7 @@ IFX_Font* CXFA_PDFFontMgr::FindFont(CFX_ByteString strPsName,
|
| return NULL;
|
| }
|
| CPDF_Dictionary* pFontDict = (CPDF_Dictionary*)pDirect;
|
| - if (pFontDict->GetString("Type") != "Font") {
|
| + if (pFontDict->GetStringBy("Type") != "Font") {
|
| return NULL;
|
| }
|
| CPDF_Font* pPDFFont = pDoc->LoadFont(pFontDict);
|
|
|