summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2022-11-04 11:06:37 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2023-02-06 08:42:05 +0000
commita1ceee2507c022b037bb55f4955fb562698a6016 (patch)
tree1d8964891c42485cf0804a2267127a8e2d08adef /tests
parent5fb85d98d6f37f66bb4dfd1b8fc3bad9d2e5acb4 (diff)
win: resolve theme fonts at 96 dpi
This code became out of sync with the changes to the LOGFONT_to_QFont() implementation introduced in edb00660. After that, LOGFONT_to_QFont() on longer adjusts the font size according to the DPI for the primary display. This means that the the code should also not get font metrics from the first display, but instead get metrics at 96 DPI. Fixes: QTBUG-105857 Change-Id: I5974a77593e1944d889a45a352923fb9aa9a0dec Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> (cherry picked from commit 64bb83f882391fbfd4bf88ce5673b3f1c82bfdf6)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions