Register whether a glyph run goes from RTL or LTR
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Wed, 28 Sep 2011 10:36:39 +0000 (12:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Sep 2011 14:58:35 +0000 (16:58 +0200)
commit353c12f3e6c97d7059365dcf9b1f2dd9aa484545
tree6d06c2863c062070c3e98ab09617ae72f0b8be9b
parente316deffef68287b03f6eed6e98b5bfcd984280d
Register whether a glyph run goes from RTL or LTR

This is needed by scene graph when embedding text objects in
RTL text. Since the number of flags required for
QGlyphRun is increasing, I've also refactored the
underline/overline/strikethrough settings to use a common
QFlags interface.

Task-number: QTBUG-20917
Change-Id: I070649c014f4a51cfd66a9579d2d221a8f22302f
Reviewed-on: http://codereview.qt-project.org/5739
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/gui/text/qglyphrun.cpp
src/gui/text/qglyphrun.h
src/gui/text/qglyphrun_p.h
src/gui/text/qtextlayout.cpp