summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fxedit')
-rw-r--r--fpdfsdk/fxedit/fxet_pageobjs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fxedit/fxet_pageobjs.cpp b/fpdfsdk/fxedit/fxet_pageobjs.cpp
index e8d9e2a371..be386095e2 100644
--- a/fpdfsdk/fxedit/fxet_pageobjs.cpp
+++ b/fpdfsdk/fxedit/fxet_pageobjs.cpp
@@ -422,7 +422,7 @@ static CPDF_TextObject* AddTextObjToPageObjects(
pTextStateData->m_FontSize = fFontSize;
pTextStateData->m_CharSpace = fCharSpace;
pTextStateData->m_WordSpace = 0;
- pTextStateData->m_TextMode = 0;
+ pTextStateData->m_TextMode = TextRenderingMode::MODE_FILL;
pTextStateData->m_Matrix[0] = nHorzScale / 100.0f;
pTextStateData->m_Matrix[1] = 0;
pTextStateData->m_Matrix[2] = 0;