diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-10-01 16:30:06 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-10-01 16:32:30 +0100 |
commit | cb81ca35d4d4db27f8bd3322fc16aa73d9cf38bb (patch) | |
tree | b002709faf3050c7f3197b0f7f703d1a57fc2452 /vcl/win/source | |
parent | 317e5b5065dd2dd5b397608a016668c18d090072 (diff) |
tdf#94428 - don't use OpenGL font rendering when we're printing.
Change-Id: I212bb442bdffa38d77e7e7357199c39420fa7951
Diffstat (limited to 'vcl/win/source')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 66c9dd68b7e2..8dace9ee5f6b 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -2492,7 +2492,7 @@ SalLayout* WinSalGraphics::GetTextLayout( ImplLayoutArgs& /*rArgs*/, int nFallba const ImplWinFontData& rFontFace = *mpWinFontData[ nFallbackLevel ]; ImplWinFontEntry& rFontInstance = *mpWinFontEntry[ nFallbackLevel ]; - bool bUseOpenGL = OpenGLHelper::isVCLOpenGLEnabled(); + bool bUseOpenGL = OpenGLHelper::isVCLOpenGLEnabled() && !mbPrinter; if (!bUspInited) InitUSP(); |