diff options
author | Bill King <bill.king@nokia.com> | 2009-11-20 04:29:51 (GMT) |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2009-11-20 04:29:51 (GMT) |
commit | 5b1a07e9ccf0a5139273b447e2b2fda6564a506a (patch) | |
tree | 6ad6fc7836747044713ade6e75d7230b848ba46e /src/gui/painting/qtextureglyphcache.cpp | |
parent | 0186faea383f3f8223bffd1844e5a47ca22770a5 (diff) | |
parent | ea0f526ac3a7daef5d4ebff2373a01d4088e28c3 (diff) | |
download | Qt-5b1a07e9ccf0a5139273b447e2b2fda6564a506a.zip Qt-5b1a07e9ccf0a5139273b447e2b2fda6564a506a.tar.gz Qt-5b1a07e9ccf0a5139273b447e2b2fda6564a506a.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/gui/painting/qtextureglyphcache.cpp')
-rw-r--r-- | src/gui/painting/qtextureglyphcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qtextureglyphcache.cpp b/src/gui/painting/qtextureglyphcache.cpp index a192e87..46fbaa9 100644 --- a/src/gui/painting/qtextureglyphcache.cpp +++ b/src/gui/painting/qtextureglyphcache.cpp @@ -101,7 +101,7 @@ void QTextureGlyphCache::populate(const QTextItemInt &ti, Coord c = { 0, 0, // will be filled in later glyph_width, glyph_height, // texture coords - metrics.x.truncate(), + metrics.x.round().truncate(), -metrics.y.truncate() }; // baseline for horizontal scripts listItemCoordinates.insert(glyph, c); |