Index: xfa/fxgraphics/cfx_graphics.cpp |
diff --git a/xfa/fxgraphics/cfx_graphics.cpp b/xfa/fxgraphics/cfx_graphics.cpp |
index 068ed015f466e45bba6a61a13140f54a5ce7805c..b9f8287ae437dd0f7f2dd04d54a5247388b76a78 100644 |
--- a/xfa/fxgraphics/cfx_graphics.cpp |
+++ b/xfa/fxgraphics/cfx_graphics.cpp |
@@ -1294,9 +1294,8 @@ FWL_Error CFX_Graphics::RenderDeviceShowText(const CFX_PointF& point, |
m.Concat(*matrix); |
} |
FX_BOOL result = m_renderDevice->DrawNormalText( |
- length, charPos, m_info.font, CFX_GEModule::Get()->GetFontCache(), |
- -m_info.fontSize * m_info.fontHScale, &m, m_info.fillColor->m_info.argb, |
- FXTEXT_CLEARTYPE); |
+ length, charPos, m_info.font, -m_info.fontSize * m_info.fontHScale, &m, |
+ m_info.fillColor->m_info.argb, FXTEXT_CLEARTYPE); |
if (!result) |
return FWL_Error::Indefinite; |
FX_Free(charPos); |