| Index: core/fpdfdoc/cpvt_fontmap.cpp
|
| diff --git a/core/fpdfdoc/cpvt_fontmap.cpp b/core/fpdfdoc/cpvt_fontmap.cpp
|
| index a47595a6ac4862380c15eb1c8ce86631469a1bf7..5960fc12151b9b29cede63b969c891949ed416e3 100644
|
| --- a/core/fpdfdoc/cpvt_fontmap.cpp
|
| +++ b/core/fpdfdoc/cpvt_fontmap.cpp
|
| @@ -38,10 +38,9 @@ void CPVT_FontMap::GetAnnotSysPDFFont(CPDF_Document* pDoc,
|
| return;
|
|
|
| CPDF_Dictionary* pFontList = pResDict->GetDictFor("Font");
|
| - if (pFontList && !pFontList->KeyExist(sSysFontAlias)) {
|
| - pFontList->SetReferenceFor(sSysFontAlias, pDoc,
|
| - pPDFFont->GetFontDict()->GetObjNum());
|
| - }
|
| + if (pFontList && !pFontList->KeyExist(sSysFontAlias))
|
| + pFontList->SetReferenceFor(sSysFontAlias, pDoc, pPDFFont->GetFontDict());
|
| +
|
| pSysFont = pPDFFont;
|
| }
|
|
|
|
|