diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-27 11:39:09 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-29 11:02:24 +0200 |
commit | bbbfc9b0eb373054aa4df7928c6472acc8f49c81 (patch) | |
tree | 0c82acba786e2b07e15957a207b888495bb0085d /src/corelib/animation/qabstractanimation.cpp | |
parent | d64460fffb488eb2e7b90df58d3891338bad7948 (diff) |
Another ugly hack to make bidi cursor work with Core Text
If the text is wrapped with LRE/LRO/RLE/RLO override/embed marks,
Core Text in Mac OS X 10.5 doesn't produce an empty glyph at the
beginning of the glyphs (while it does in Mac OS X 10.6), thus
we need to prepend an empty glyph here, otherwise cursor position
calculation will consider the first two characters as a ligature
of the same glyph.
Reviewed-by: Eskil
(cherry picked from commit a36ac6c34bafa801c2c30d76f59e4a3594efc4d5)
Diffstat (limited to 'src/corelib/animation/qabstractanimation.cpp')
0 files changed, 0 insertions, 0 deletions