diff options
author | Tobias Koenig <tobias.koenig@kdab.com> | 2017-02-17 08:13:50 +0100 |
---|---|---|
committer | Tobias Koenig <tobias.koenig@kdab.com> | 2017-02-17 08:14:19 +0000 |
commit | 626edf3c2d1064aa5e5bb331d8e2f8ba98f9d58b (patch) | |
tree | 0c60cd6424d0c31b4d17764fcc15e2fb819d1f39 /src/opengl/qglshaderprogram.cpp | |
parent | 8d71fae08078afbf4aa2de7429302f46d46fb43f (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/opengl/qglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions