diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-12-07 14:01:39 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-12-07 14:05:13 +0200 |
commit | caf52dbc2fa6dbfaf502b7150f13fe38e25443b9 (patch) | |
tree | 2052bd50e4e5a0e8e4ed95465775999cea42e0f4 /vcl | |
parent | 571f51c424ea50c31b85003fa68f420f0573065f (diff) |
tdf#96070: Just give up on glyph caching for non-horizontal text
Change-Id: I60f54523f927e97d739a4c735e54b2cc3400aff3
Diffstat (limited to 'vcl')
-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 6e2810e22c2e..607426fe2d99 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/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); |