summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-08-24 09:13:45 +0200
committerQt by Nokia <qt-info@nokia.com>2011-08-25 15:00:31 +0200
commite6cecd9ce01b1fcdf7d8038fa79cd60b10ab43bf (patch)
tree5d0cd7242770658d9cc753c4210eaeba830ae1d3 /bin
parent9a442b7b54883dbc2830486ca15802d15df46bad (diff)
Fix justification of RTL text
Since the trailing space is included in the QScriptLine, it may affect the positions of preceding script items when the text is RTL. The best solution for this would be to disregard the trailing space in the layout process, or somehow make it have an advance of 0 so it doesn't affect the layout. However, to minimize the impact of the change, and to be consistent with previous work arounds such as bf992df6434fc37715f728ca09601c5567dd83c9, we simply include the trailing (visually leading) space in the justification pass for now. Task-number: QTBUG-20920 Reviewed-by: Lars (cherry picked from commit 1a8a36eb6b6df9e2550b5eaa4606f2d411fd4294) Change-Id: I94972ebaea2e1bdb09950523c43844351b304abe Reviewed-on: http://codereview.qt.nokia.com/3462 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions