diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2010-11-12 11:50:24 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2010-11-12 12:57:01 (GMT) |
commit | 344a4dcfe847dd778c33d1a852381672dd331409 (patch) | |
tree | e3c6757b9f9f3385602ccd17f9e179d769c2f31a /doc/src/snippets/code/doc_src_model-view-programming.cpp | |
parent | 7b3880475d02bd3db630387bccccc7e1ef9d4e9a (diff) | |
download | Qt-344a4dcfe847dd778c33d1a852381672dd331409.zip Qt-344a4dcfe847dd778c33d1a852381672dd331409.tar.gz Qt-344a4dcfe847dd778c33d1a852381672dd331409.tar.bz2 |
Fix text rendering offset for raster engine on Mac
Since the bounding box returned by Core Text in smaller than the
actual glyph rendered, we have 2 pixels padding around it, as a
result, we have to leave 1 pixel above the glyph in glyph cache,
so we need to put the text origin 1 pixel lower to draw it.
Task-number: QTBUG-15223, QTBUG-15230, QTBUG-15243
Reviewed-by: Gunnar Sletta
Diffstat (limited to 'doc/src/snippets/code/doc_src_model-view-programming.cpp')
0 files changed, 0 insertions, 0 deletions