diff options
author | John Tapsell <john.tapsell.ext@basyskom.com> | 2012-02-08 10:12:21 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-04 22:20:00 (GMT) |
commit | 39c73a8d66c05fb792dac722a88b745eab90feda (patch) | |
tree | aa5461ab8a680bb9fda0124a5b1eb7f264ce10c7 /tests/auto/qsound | |
parent | 656fab5e848fd14e5d00536a4babbb2f33dbcfb7 (diff) | |
download | Qt-39c73a8d66c05fb792dac722a88b745eab90feda.zip Qt-39c73a8d66c05fb792dac722a88b745eab90feda.tar.gz Qt-39c73a8d66c05fb792dac722a88b745eab90feda.tar.bz2 |
Harfbuzz-shaper - fix incorrect logClusters being set in HB_OpenTypePosition
After shaping in HB_OpenTypePosition, when we come to calculate the new
logClusters array we have to take into account that the glyphs passed in
are not a 1 to 1 correspondance with the original string, because some
shaping might have already been done. So we must use the old
logClusters values (stored in tmpLogClusters) to map from the glyphs
passed in back to the original string.
This fixes visual word wrapping problems in thai
Change-Id: I384dfa98f0946e9e074728f89542acb2b6b6bc27
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/qsound')
0 files changed, 0 insertions, 0 deletions