Index: core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
diff --git a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
index fef0bcdb790baff1d79c8aa5857191a155f27f1d..265948f1d5e51a6202d06293094c07f718558699 100644 |
--- a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
+++ b/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
@@ -237,7 +237,7 @@ FX_BOOL CPDF_RenderStatus::ProcessType3Text(CPDF_TextObject* textobj, |
CPDF_Dictionary* pFormResource = nullptr; |
if (pType3Char->m_pForm && pType3Char->m_pForm->m_pFormDict) { |
pFormResource = |
- pType3Char->m_pForm->m_pFormDict->GetDictBy("Resources"); |
+ pType3Char->m_pForm->m_pFormDict->GetDictFor("Resources"); |
} |
if (fill_alpha == 255) { |
CPDF_RenderStatus status; |