diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-12 11:33:31 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-12 15:58:35 +0200 |
commit | 2118a8df91263dcadd1ca0067caed84d1c749977 (patch) | |
tree | df8bf1f038ac78c86757496bd57956e8bd7ec34c /doc/src/snippets/code/doc_src_qalgorithms.cpp | |
parent | ade1378a4fc479d7ff3de3eb636c222c195a9082 (diff) | |
download | qt4-tools-2118a8df91263dcadd1ca0067caed84d1c749977.tar.gz |
Compensate for different rounding rule in CG engine
After we switched to fractional metrics, Core Graphics engine
always put text at floored vertical postion, while underlines
will be rounded after 0.75. Ceiling the underline position will
make sure it will always leave the underline pixels given.
Task-number: QTBUG-19959
Reviewed-by: Eskil
Diffstat (limited to 'doc/src/snippets/code/doc_src_qalgorithms.cpp')
0 files changed, 0 insertions, 0 deletions