Kaydet (Commit) 3b74c0f8 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Andras Timar

tdf#96070: Just give up on glyph caching for non-horizontal text

Change-Id: I60f54523f927e97d739a4c735e54b2cc3400aff3
Reviewed-on: https://gerrit.libreoffice.org/20436Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 448fec81
...@@ -371,7 +371,8 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou ...@@ -371,7 +371,8 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
aChunk.mbVertical = false; 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; return false;
OpenGLCompatibleDC aDC(rGraphics, 0, 0, nBitmapWidth, nBitmapHeight); OpenGLCompatibleDC aDC(rGraphics, 0, 0, nBitmapWidth, nBitmapHeight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment