summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-20 17:28:24 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-20 17:28:24 -0700
commit8f5f897b50918fe83da894d9e7a34bbe314244de (patch)
treed268a9792cbf9fb66fe60820c65daa716ca39cbf /fpdfsdk/fxedit
parenta2c06e4a667a45a267f9382d0d90ab689c89d0cf (diff)
downloadpdfium-8f5f897b50918fe83da894d9e7a34bbe314244de.tar.xz
Add an enum to represent text rendering modes.
Review-Url: https://codereview.chromium.org/1999553002
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;