summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/node.cpp
diff options
context:
space:
mode:
authorJohn Tapsell <john.tapsell.ext@basyskom.com>2012-03-09 23:08:49 +0000
committerQt by Nokia <qt-info@nokia.com>2012-03-20 11:44:09 +0100
commitadd629d4f16a536fc56d55727195e3247b621a54 (patch)
treef0979de59fd57c5cfefe3b3defea7a5cb8523d51 /src/tools/qdoc/node.cpp
parent497f4fffa26ec9ad786752819119767b247bb247 (diff)
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: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/tools/qdoc/node.cpp')
0 files changed, 0 insertions, 0 deletions