Open ascarter opened 1 month ago
Should be pretty easy to get the value as it's exposed in the settings portals and other keys are used already, I think it can be done here https://github.com/zed-industries/zed/blob/38e3182bef48a9aec70fbba1b789b59e5098d4d2/crates/gpui/src/window.rs#L2430
Check for existing issues
Describe the bug / provide steps to reproduce it
4K support for Gnome is complicated. I use 100% as my integer scaling factor and then use Gnome tweaks to scale text up. This seems to work much better than fractional scaling. Most apps I'm using respond correctly to the text scaling. Zed however does not. I can manually adjust the UI and buffer font sizes but the menus for example are still not the right size. In general, it would be ideal for Zed to support
text-scaling-factor
. VS Code supports it and looks great using it. The Gnome UI seems to adjust fine around using larger text so it's a good way to use the 4k screen for more density and keep the text readable.Environment
Zed:
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log