Retain bidirectional marks when eliding text
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 19 Apr 2012 11:36:59 +0000 (13:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Apr 2012 08:29:14 +0000 (10:29 +0200)
commitca5918c8b8e0d4388b574cb019e6b770e7342884
treef1db9f30bf7a12dd9bb6988724b16d22a581ddec
parent528cb10d5395692d9dd1975e51faca636d87c9e7
Retain bidirectional marks when eliding text

When the text contains unicode markers for bidirectional
text, these will not affect the width of the text, but they
might affects its layout. Thus, we need to retain these
markers in the elided text to avoid the layout of the string
changing when its allocated width changes.

Task-number: QTBUG-3768
Change-Id: I3866c32cd1dcd5fff2b8fa5b25ae89e551531a97
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/gui/text/qtextengine.cpp