diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-06 17:08:41 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-07 09:22:13 +0200 |
commit | ba65e2741c47912a800132b90f7dbaf2551b04c4 (patch) | |
tree | 326ae278e9cb35e12bf424a37807657bc37e08fd /doc/src/snippets/code/doc_src_qalgorithms.cpp | |
parent | b2799a705b6d7655bb23ec4121fd76ce8a94b344 (diff) | |
download | qt4-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