| Index: core/fpdfdoc/cpvt_fontmap.cpp
|
| diff --git a/core/fpdfdoc/cpvt_fontmap.cpp b/core/fpdfdoc/cpvt_fontmap.cpp
|
| index 5960fc12151b9b29cede63b969c891949ed416e3..a47595a6ac4862380c15eb1c8ce86631469a1bf7 100644
|
| --- a/core/fpdfdoc/cpvt_fontmap.cpp
|
| +++ b/core/fpdfdoc/cpvt_fontmap.cpp
|
| @@ -38,9 +38,10 @@ 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());
|
| -
|
| + if (pFontList && !pFontList->KeyExist(sSysFontAlias)) {
|
| + pFontList->SetReferenceFor(sSysFontAlias, pDoc,
|
| + pPDFFont->GetFontDict()->GetObjNum());
|
| + }
|
| pSysFont = pPDFFont;
|
| }
|
|
|
|
|