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 080a7578a77dfa2f7a97a223e7318edfa6e0a23a..641d0b4705aa88a8f136b8dff133b1fe7f81b1c1 100644 |
--- a/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
+++ b/core/fpdfapi/fpdf_render/fpdf_render_text.cpp |
@@ -629,10 +629,10 @@ FX_BOOL CPDF_TextRenderer::DrawTextPath(CFX_RenderDevice* pDevice, |
: nullptr; |
CPDF_CharPosList CharPosList; |
CharPosList.Load(nChars, pCharCodes, pCharPos, pFont, font_size); |
- return pDevice->DrawTextPathWithFlags( |
- CharPosList.m_nChars, CharPosList.m_pCharPos, &pFont->m_Font, pCache, |
- font_size, pText2User, pUser2Device, pGraphState, fill_argb, stroke_argb, |
- pClippingPath, nFlag); |
+ return pDevice->DrawTextPath(CharPosList.m_nChars, CharPosList.m_pCharPos, |
+ &pFont->m_Font, pCache, font_size, pText2User, |
+ pUser2Device, pGraphState, fill_argb, |
+ stroke_argb, pClippingPath, nFlag); |
} |
// static |