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 ce73208896cf53ab4cdcacfa283cf84f5fa6060d..5bd7c35059e7cb4aa1e7281176dd2e4126cf42ce 100644 |
--- a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
+++ b/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
@@ -430,7 +430,7 @@ FX_BOOL CPDF_RenderStatus::ProcessType3Text(const CPDF_TextObject* textobj, |
status.m_Type3FontCache.Add(pType3Font); |
m_pDevice->SaveState(); |
status.RenderObjectList(pType3Char->m_pForm.get(), &matrix); |
- m_pDevice->RestoreState(); |
+ m_pDevice->RestoreState(false); |
} else { |
CFX_FloatRect rect_f = pType3Char->m_pForm->CalcBoundingBox(); |
rect_f.Transform(&matrix); |