tdf#94428 - don't use OpenGL font rendering when we're printing.

Change-Id: I212bb442bdffa38d77e7e7357199c39420fa7951
This commit is contained in:
Michael Meeks
2015-10-01 16:30:06 +01:00
parent 317e5b5065
commit cb81ca35d4

View File

@@ -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();