diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-12-07 14:01:39 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-12-10 16:12:01 +0100 |
commit | 4fbc1875a1a44efaf852fecf1fe997f28a4063cb (patch) | |
tree | f885ece5a0cebd65e4317d72b641dc17e56a311c | |
parent | a1195d9f66c93f229623f14b6ec6d302f3035bce (diff) |
tdf#96070: Just give up on glyph caching for non-horizontal text
Change-Id: I60f54523f927e97d739a4c735e54b2cc3400aff3
Reviewed-on: https://gerrit.libreoffice.org/20436
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 3b74c0f8b750cfe89598358fba811f4900287b64)
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index abbdc5a334c4..3f5a78c0f61c 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -371,7 +371,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); |