diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-19 08:29:49 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-23 10:42:20 (GMT) |
commit | 5338d78aa9d80ddd2bcb21e6b22cd2cf1522a7d3 (patch) | |
tree | 7c9e06bbf575302a7ddbcfb986c406564ea122cf /src/gui/painting/qpaintengine_raster.cpp | |
parent | 5651fdf16a22cbf3ccd6663d5d5c95b420a3df13 (diff) | |
download | Qt-5338d78aa9d80ddd2bcb21e6b22cd2cf1522a7d3.zip Qt-5338d78aa9d80ddd2bcb21e6b22cd2cf1522a7d3.tar.gz Qt-5338d78aa9d80ddd2bcb21e6b22cd2cf1522a7d3.tar.bz2 |
Support placing cursor in ligature with mouse or touch
We need to find out the closest element in the ligature to
the point we clicked (or tapped), currently we do this by
dividing the width of that ligature glyph evenly by the number
of characters it covered. We only support Common and Greek script
at this point, ligatures in other scripts are still handled as a
whole.
Task-number: QTBUG-19260
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions