From 8f5f897b50918fe83da894d9e7a34bbe314244de Mon Sep 17 00:00:00 2001 From: thestig Date: Fri, 20 May 2016 17:28:24 -0700 Subject: Add an enum to represent text rendering modes. Review-Url: https://codereview.chromium.org/1999553002 --- fpdfsdk/fxedit/fxet_pageobjs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/fxedit') 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; -- cgit v1.2.3