summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_qalgorithms.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-06 17:08:41 +0200
committerJiang Jiang <jiang.jiang@nokia.com>2011-07-07 09:22:13 +0200
commitba65e2741c47912a800132b90f7dbaf2551b04c4 (patch)
tree326ae278e9cb35e12bf424a37807657bc37e08fd /doc/src/snippets/code/doc_src_qalgorithms.cpp
parentb2799a705b6d7655bb23ec4121fd76ce8a94b344 (diff)
downloadqt4-tools-ba65e2741c47912a800132b90f7dbaf2551b04c4.tar.gz
Fix raster subpixel positioning in Lion
In Lion, the x position returned by CTFontGetBoundingRectsForGlyphs can be fractional, we need to round().truncate() it as we did in QTextureGlyphCache to save the baseLineX. Reviewed-by: Eskil
Diffstat (limited to 'doc/src/snippets/code/doc_src_qalgorithms.cpp')
0 files changed, 0 insertions, 0 deletions