summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsdrag.cpp
diff options
context:
space:
mode:
authorTobias Koenig <tobias.koenig@kdab.com>2017-02-17 08:13:50 +0100
committerTobias Koenig <tobias.koenig@kdab.com>2017-02-17 08:14:19 +0000
commit626edf3c2d1064aa5e5bb331d8e2f8ba98f9d58b (patch)
tree0c60cd6424d0c31b4d17764fcc15e2fb819d1f39 /src/plugins/platforms/windows/qwindowsdrag.cpp
parent8d71fae08078afbf4aa2de7429302f46d46fb43f (diff)
Fix rounding errors in generation of '/W' and '/DW' entries
Calculating the glyph widths for '/W' and '/DW' entries in PDF documents based on QFixed leads to rounding errors, which result in different glyph widths than the ones store into the font program. Use qreal-based calculation in both places, to have consistent glyph width information across the PDF document. Change-Id: I761809f4bc586005e35640929c4663c8b477e0e6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsdrag.cpp')
0 files changed, 0 insertions, 0 deletions