tdf#94428 - don't use OpenGL font rendering when we're printing.
Change-Id: I212bb442bdffa38d77e7e7357199c39420fa7951
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user