Replies: 2 comments
-
|
I assume the relevant code for this is here: ghostty/src/apprt/gtk/Surface.zig Lines 873 to 884 in 9e45da1 |
Beta Was this translation helpful? Give feedback.
-
|
I believe I think you need to change the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment:
192in XFCE settings.The Bug:
On an XFCE desktop configured for HiDPI (192 DPI), Ghostty does not correctly handle GTK's scaling variables. It appears to process the integer
GTK_SCALEvariable but completely ignores the fractionalGDK_DPI_SCALEvariable, leading to incorrect UI scaling.To Reproduce:
2 * 0.5 = 1x.Expected Result:

The application should honor both variables, calculate a final scale of
1x, and display at a normal, unscaled size.Actual Result:


Ghostty renders at a 2x scale, completely ignoring the
GDK_DPI_SCALE=0.5instruction.Beta Was this translation helpful? Give feedback.
All reactions