diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-27 08:42:40 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-27 09:14:03 (GMT) |
commit | cc500b182e26d53ca16136f24a06a111f4374425 (patch) | |
tree | ed376cc75c77a8cf3131e062449a45889b6cddd4 /src/3rdparty/phonon/gstreamer/message.h | |
parent | 91be1263b42a0a91daf3f905661e356e31482fd3 (diff) | |
download | Qt-cc500b182e26d53ca16136f24a06a111f4374425.zip Qt-cc500b182e26d53ca16136f24a06a111f4374425.tar.gz Qt-cc500b182e26d53ca16136f24a06a111f4374425.tar.bz2 |
Save previous font engine for right bearing adjustment
In last fix I forgot that fd818312 was for saving and restoring the
right bearing (of last visible glyph) when a LineSeparator was hit
(which can have a different font engine but usually not visble),
thus we can't reset previousGlyph in that case. To make sure we
still get correct right bearing from the font engine used to shape
previousGlyph, we need to save that font engine as well. It does
make the code more complicated than simply saving the right bearing
when a QScriptItem boundary is hit, so hopefully it's an optimization
worth to be made (following e1915815).
Task-number: QTBUG-20423
Reviewed-by: Eskil
Diffstat (limited to 'src/3rdparty/phonon/gstreamer/message.h')
0 files changed, 0 insertions, 0 deletions