diff options
author | thestig <thestig@chromium.org> | 2016-06-06 17:54:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-06 17:54:29 -0700 |
commit | b0fcfad1412c2ddaf33c74fa4b854c3c1390a509 (patch) | |
tree | e890bd15ef68a679e06b58e42f51496a050166ed /core/fxge/ge/fx_ge_text.cpp | |
parent | 0abe65264043b8a1b4afbf8d3e9ce88b4a534826 (diff) | |
download | pdfium-b0fcfad1412c2ddaf33c74fa4b854c3c1390a509.tar.xz |
Remove unused PS generation code.
CFX_PSRenderer, IFX_PSOutput, CPSOutput, CPSPrinterDriver.
Also reland commit 2d63eaa.
Review-Url: https://codereview.chromium.org/2019603002
Diffstat (limited to 'core/fxge/ge/fx_ge_text.cpp')
-rw-r--r-- | core/fxge/ge/fx_ge_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/ge/fx_ge_text.cpp b/core/fxge/ge/fx_ge_text.cpp index 042e6f2b5b..3243b505b1 100644 --- a/core/fxge/ge/fx_ge_text.cpp +++ b/core/fxge/ge/fx_ge_text.cpp @@ -471,7 +471,7 @@ FX_BOOL CFX_RenderDevice::DrawNormalText(int nChars, } char2device.Scale(font_size, -font_size); if (FXSYS_fabs(char2device.a) + FXSYS_fabs(char2device.b) > 50 * 1.0f || - ((m_DeviceClass == FXDC_PRINTER && !m_pDeviceDriver->IsPSPrintDriver()) && + ((m_DeviceClass == FXDC_PRINTER) && !(text_flags & FXTEXT_PRINTIMAGETEXT))) { if (pFont->GetFace() || (pFont->GetSubstFont()->m_SubstFlags & FXFONT_SUBST_GLYPHPATH)) { |