| Index: core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
|
| index fcb422b6c47a5f167a93eec4b8dac9016fe7ec60..449b003c56cd7350860668ff8bb2e79c51272c8a 100644
|
| --- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
|
| +++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
|
| @@ -256,16 +256,6 @@ FX_BOOL CPDF_RenderStatus::ProcessText(const CPDF_TextObject* textobj, const CFX
|
| DrawTextPathWithPattern(textobj, pObj2Device, pFont, font_size, &text_matrix, bFill, bStroke);
|
| return TRUE;
|
| }
|
| -#if defined(_FPDFAPI_MINI_)
|
| - if (bFill) {
|
| - bStroke = FALSE;
|
| - }
|
| - if (bStroke) {
|
| - if (font_size * text_matrix.GetXUnit() * pObj2Device->GetXUnit() < 6) {
|
| - bStroke = FALSE;
|
| - }
|
| - }
|
| -#endif
|
| if (bClip || bStroke) {
|
| const CFX_AffineMatrix* pDeviceMatrix = pObj2Device;
|
| CFX_AffineMatrix device_matrix;
|
| @@ -284,12 +274,10 @@ FX_BOOL CPDF_RenderStatus::ProcessText(const CPDF_TextObject* textobj, const CFX
|
| flag |= FX_FILL_STROKE;
|
| flag |= FX_STROKE_TEXT_MODE;
|
| }
|
| -#if !defined(_FPDFAPI_MINI_) || defined(_FXCORE_FEATURE_ALL_)
|
| const CPDF_GeneralStateData* pGeneralData = ((CPDF_PageObject*)textobj)->m_GeneralState;
|
| if (pGeneralData && pGeneralData->m_StrokeAdjust) {
|
| flag |= FX_STROKE_ADJUST;
|
| }
|
| -#endif
|
| if (m_Options.m_Flags & RENDER_NOTEXTSMOOTH) {
|
| flag |= FXFILL_NOPATHSMOOTH;
|
| }
|
|
|