Index: core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
index a40284a1f8b765005635c75db244cf2d87c1e721..d0427f68fa5bb84d3ec2e1061157093a9f72c422 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
@@ -411,7 +411,8 @@ FX_BOOL CPDF_RenderStatus::ProcessType3Text(const CPDF_TextObject* textobj, |
Options.m_Flags &= ~RENDER_FORCE_DOWNSAMPLE; |
CPDF_Dictionary* pFormResource = NULL; |
if (pType3Char->m_pForm && pType3Char->m_pForm->m_pFormDict) { |
- pFormResource = pType3Char->m_pForm->m_pFormDict->GetDict("Resources"); |
+ pFormResource = |
+ pType3Char->m_pForm->m_pFormDict->GetDictBy("Resources"); |
} |
if (fill_alpha == 255) { |
CPDF_RenderStatus status; |