| Index: core/src/fpdfdoc/doc_utils.cpp
|
| diff --git a/core/src/fpdfdoc/doc_utils.cpp b/core/src/fpdfdoc/doc_utils.cpp
|
| index db5db4ee895f36f171f8ba475d513f6bdb19ff88..67a9324251d9430f0487476b0a7083fa16bd4a67 100644
|
| --- a/core/src/fpdfdoc/doc_utils.cpp
|
| +++ b/core/src/fpdfdoc/doc_utils.cpp
|
| @@ -615,17 +615,19 @@ void RemoveInterFormFont(CPDF_Dictionary* pFormDict, CFX_ByteString csNameTag) {
|
| }
|
| pFonts->RemoveAt(csNameTag);
|
| }
|
| +
|
| CPDF_Font* GetDefaultInterFormFont(CPDF_Dictionary* pFormDict,
|
| CPDF_Document* pDocument) {
|
| if (!pFormDict) {
|
| return NULL;
|
| }
|
| - CPDF_DefaultAppearance cDA = pFormDict->GetStringBy("DA");
|
| + CPDF_DefaultAppearance cDA(pFormDict->GetStringBy("DA"));
|
| CFX_ByteString csFontNameTag;
|
| FX_FLOAT fFontSize;
|
| cDA.GetFont(csFontNameTag, fFontSize);
|
| return GetInterFormFont(pFormDict, pDocument, csFontNameTag);
|
| }
|
| +
|
| CPDF_IconFit::ScaleMethod CPDF_IconFit::GetScaleMethod() {
|
| if (!m_pDict) {
|
| return Always;
|
|
|