diff options
author | lasconic <lasconic@gmail.com> | 2014-09-18 07:44:03 (GMT) |
---|---|---|
committer | Ashish Kulkarni <kulkarni.ashish@gmail.com> | 2014-12-16 04:18:03 (GMT) |
commit | bf1fce4fc18d09fd640f4c765522737173d4fee5 (patch) | |
tree | 03c24328ff5f3027762ed1498433f9c0c30cfa61 /src/svg/qsvgstyle_p.h | |
parent | 61379d481a1a9d646c812df010089c6d52d18f31 (diff) | |
download | Qt-bf1fce4fc18d09fd640f4c765522737173d4fee5.zip Qt-bf1fce4fc18d09fd640f4c765522737173d4fee5.tar.gz Qt-bf1fce4fc18d09fd640f4c765522737173d4fee5.tar.bz2 |
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
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Change-Id: I38ca46d50e490e3b704a89d08b1a8697bca5f079
(cherry picked from qtbase/4aba2d07d2fe67beaf544a4b38c5b9aa8b8ec39b)
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/svg/qsvgstyle_p.h')
0 files changed, 0 insertions, 0 deletions