diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-06 15:08:41 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-07 07:22:13 (GMT) |
commit | ba65e2741c47912a800132b90f7dbaf2551b04c4 (patch) | |
tree | 326ae278e9cb35e12bf424a37807657bc37e08fd /doc/src/snippets/code/src_opengl_qglshaderprogram.cpp | |
parent | b2799a705b6d7655bb23ec4121fd76ce8a94b344 (diff) | |
download | Qt-ba65e2741c47912a800132b90f7dbaf2551b04c4.zip Qt-ba65e2741c47912a800132b90f7dbaf2551b04c4.tar.gz Qt-ba65e2741c47912a800132b90f7dbaf2551b04c4.tar.bz2 |
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/src_opengl_qglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions