diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-02 15:40:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-02 15:41:31 +0200 |
commit | 53a40c43a1ac88e761e97a2832367525ee6b0426 (patch) | |
tree | 8f0b28c5490d759daa16dcf18c98717ba3b58ac6 /drawinglayer | |
parent | cc88a88caad591270760d947848ad0a032d32bdb (diff) |
tdf#93857 opengl: adapt UniscribeLayout's DrawCachedGlyphs() to FillDXArray()
The problem was UniscribeLayout::DrawCachedGlyphs() counted the total
advance value unconditionally from mpGlyphAdvances, while
UniscribeLayout::FillDXArray() (which provides advance values to e.g.
Writer) only used mpGlyphAdvances in case of NULL mpJustifications. Fix
this by first checking mpJustifications in
UniscribeLayout::DrawCachedGlyphs(), too.
With this, e.g. typing "x" in Writer 10 times will not result in a
"misplaced" cursor caret.
Change-Id: I16c7a258ff77b25c5121b9b974e72ad6efe5e9fc
Diffstat (limited to 'drawinglayer')
0 files changed, 0 insertions, 0 deletions