summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextengine.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-09-22 12:12:25 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-09-22 12:13:31 (GMT)
commit0d830dc5b0716bdb4fa7130f724ba5c9593411fa (patch)
treed409e211a8aa3e339946b290f0ad0cf6718c4358 /src/gui/text/qtextengine.cpp
parent6e6dcc1575188751a730cdc3376b036b3df1f08e (diff)
downloadQt-0d830dc5b0716bdb4fa7130f724ba5c9593411fa.zip
Qt-0d830dc5b0716bdb4fa7130f724ba5c9593411fa.tar.gz
Qt-0d830dc5b0716bdb4fa7130f724ba5c9593411fa.tar.bz2
Fix breaking on fixed column width when text has tabs
When a text in QTextLayout contained tabs, these would be counted as single glyphs when breaking the text on a fixed number of columns, rather than the number of characters they span. The patch calculates the number of characters represented by a tab by using the average character width of the font engine. Task-number: QTBUG-4468 Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/gui/text/qtextengine.cpp')
0 files changed, 0 insertions, 0 deletions