Created attachment 8726934
Firefox proposed GTK3 scaling
So I have taken some screenshots. Here are the GIFs of Firefox at these DPI values:
96, 105, 115, 125, 134, 143, 154, 168, 192, 216
(these correspond to the scaling factors 1.0, 1.1, 1.2, 1.3, 1.4, 1.49, 1.6, 1.75 (I got lazy), 2.0, 2.25)
It can be observed that my reading of the Windows code is correct - Windows *does* scale exactly according to the system-reported DPI value.
It seems obvious to me that the rounding currently applied when reading the system DPI leads in fact to a broken behaviour since parts of Firefox scale (best example: font size in tab label) but the content does not.
The "proposed GTK3 scaling" screenshots are from a FF built with my patch applied.
Created attachment 8726934
Firefox proposed GTK3 scaling
So I have taken some screenshots. Here are the GIFs of Firefox at these DPI values:
96, 105, 115, 125, 134, 143, 154, 168, 192, 216
(these correspond to the scaling factors 1.0, 1.1, 1.2, 1.3, 1.4, 1.49, 1.6, 1.75 (I got lazy), 2.0, 2.25)
It can be observed that my reading of the Windows code is correct - Windows *does* scale exactly according to the system-reported DPI value.
It seems obvious to me that the rounding currently applied when reading the system DPI leads in fact to a broken behaviour since parts of Firefox scale (best example: font size in tab label) but the content does not.
The "proposed GTK3 scaling" screenshots are from a FF built with my patch applied.