summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qtablewidget-using/main.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-10-18 12:22:51 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-10-19 19:24:26 +0200
commit3158068209b06e8bfa18c8fb83890953221a8176 (patch)
tree8817b390e34cb18eb9f27fd3734c060e8e59ab1f /src/widgets/doc/snippets/qtablewidget-using/main.cpp
parent71f020b36536edd717ef6d769b12795b7c4f8a69 (diff)
Fix generating PDFs with DirectWrite engine
The PDF print engine depends on getting unscaled glyphs and some metrics from the font engine, and for DirectWrite, we were relying on the superclass implementations of the functions in question, giving us approximated values. This caused glyphs to be slightly the wrong size when the DirectWrite engine was in use, e.g. when high-dpi scaling is enabled. [ChangeLog][QtPrintSupport][Windows] Fixed glitches in generated PDFs when the DirectWrite backend was in use, e.g. when high-dpi scaling was active. Pick-to: 6.2 6.4 Fixes: QTBUG-102098 Change-Id: I6ad72bfc8f634a1dcaee02de39960faa93f1ece3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-using/main.cpp')
0 files changed, 0 insertions, 0 deletions