GdkWin32: Scale text with DPI like in GTK3 with SYSTEM_DPI_AWARENESS
authorLuca Bacci <luca.bacci982@gmail.com>
Tue, 23 Aug 2022 12:49:59 +0000 (14:49 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Tue, 23 Aug 2022 17:53:44 +0000 (19:53 +0200)
commitc11ea42644525df2d1c9cc8bc72292ff99a13395
treef1501ec4e2cb6ad0dc1cce9a61f0d0cdee1b8d58
parentd7c04145ee4d2aa7c2f1ef9653de7d8708e9854a
GdkWin32: Scale text with DPI like in GTK3 with SYSTEM_DPI_AWARENESS

Right now we only support system DPI awareness in GTK4. In that case
it makes sense to scale text with the DPI of the primary monitor, like
done in GTK3.

We plan to land support for proper fractional scaling in Gdk/Win32, so
in the future the "gtk-xft-dpi" setting will be gathered as intended,
i.e. for text magnification, as an a11y feature.
gdk/win32/gdkproperty-win32.c