diff options
author | lasconic <lasconic@gmail.com> | 2014-09-18 09:44:03 +0200 |
---|---|---|
committer | Nicolas Froment <lasconic@gmail.com> | 2014-09-18 17:44:37 +0200 |
commit | 4aba2d07d2fe67beaf544a4b38c5b9aa8b8ec39b (patch) | |
tree | 0d1286075d2e93b878a1398bcceaa987b2824c72 /tests/auto/gui/text/qtextdocumentfragment/tst_qtextdocumentfragment.cpp | |
parent | a614bc6e39c8460ebe5b7a5aff546ca3219c8730 (diff) |
Use metrics returned by GetGlyphOutline in GGO_METRICS mode
GetGlyphOutline Windows API returns wrong values when used with an
OpenType PS font and in GGO_NATIVE mode. It causes problem when
exporting to PDF. The fix changes the GetGlyphOutline call to use
GGO_METRICS instead.
Task-number: QTBUG-12799
Change-Id: I47d6d16b6e7819b51bc444420ada4a47d5f24f4e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'tests/auto/gui/text/qtextdocumentfragment/tst_qtextdocumentfragment.cpp')
0 files changed, 0 insertions, 0 deletions