vcl/win/gdi/winlayout.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 573cd28987614a8893f47f67f05587b7afd86546 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Dec 7 14:01:39 2015 +0200 tdf#96070: Just give up on glyph caching for non-horizontal text Change-Id: I60f54523f927e97d739a4c735e54b2cc3400aff3 diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index b5ce57e..3afa26e 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -358,7 +358,8 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou aChunk.mbVertical = false; } - if (aChunk.mbVertical && aLogfont.lfEscapement != 2700) + // Don't even try to handle non-horizontal text + if (aChunk.mbVertical || aLogfont.lfEscapement != 0) return false; OpenGLCompatibleDC aDC(rGraphics, 0, 0, nBitmapWidth, nBitmapHeight); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits