diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-29 10:51:53 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-29 10:55:03 (GMT) |
commit | 1209a398c3b59b21b38036fffd4fb2442320e5c3 (patch) | |
tree | bcf6556f94dbac3f208a5f1b45de7ae227e9fea0 /src/gui/text/qtextengine.cpp | |
parent | 20ecb182654fc77be31be9104fce8fdf2155412d (diff) | |
download | Qt-1209a398c3b59b21b38036fffd4fb2442320e5c3.zip Qt-1209a398c3b59b21b38036fffd4fb2442320e5c3.tar.gz Qt-1209a398c3b59b21b38036fffd4fb2442320e5c3.tar.bz2 |
Made -graphicssystem trace work with Qt::TextBypassShaping flag.
The QPaintBuffer gets the text from the text item in order to stream it.
Reviewed-by: Jocelyn Turcotte
Diffstat (limited to 'src/gui/text/qtextengine.cpp')
-rw-r--r-- | src/gui/text/qtextengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qtextengine.cpp b/src/gui/text/qtextengine.cpp index 60195a8..439f2a4 100644 --- a/src/gui/text/qtextengine.cpp +++ b/src/gui/text/qtextengine.cpp @@ -2668,9 +2668,9 @@ QTextItemInt::QTextItemInt(const QScriptItem &si, QFont *font, const QTextCharFo flags |= QTextItem::StrikeOut; } -QTextItemInt::QTextItemInt(const QGlyphLayout &g, QFont *font, QFontEngine *fe) +QTextItemInt::QTextItemInt(const QGlyphLayout &g, QFont *font, const QChar *chars_, int numChars, QFontEngine *fe) : flags(0), justified(false), underlineStyle(QTextCharFormat::NoUnderline), - num_chars(0), chars(0), logClusters(0), f(font), glyphs(g), fontEngine(fe) + num_chars(numChars), chars(chars_), logClusters(0), f(font), glyphs(g), fontEngine(fe) { } |