-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partial fix for #1938, add GDK_DEBUG=gl-no-fractional #4255
Conversation
It works! Thinks! |
Just wanted to follow up to acknowledge a drawback of this fix. It seems to result in a quantization that sometimes affects letter shapes. For example "p" might render nicely most of the time, but occasionally the vertical stem is skinnier by a pixel, or maybe the right side of the bowl appears pinched. IMHO this is objectively better than the previous fuzziness, but it's a matter of opinion whether it's better than kitty. Some people might feel that kitty's rendering still strikes the best balance. Ideally I think that ghostty would:
so that the two "better" outcomes are both available by user preference. Now that I've used this patch, I might actually stick with it personally, because I really like the crispness even if it sometimes results in a skinny stem. I would include a screenshot of the oddities, but... every time I engage GNOME's screenshot tool, the oddities go away! |
Thanks for detailed follow up! We dont have that much options unless they add more mature renderer for fractional scaling.. they said newGL would fix it, but obviously it still cant fix it for some cases. I think there is no answer for this fractional font scaling problem. One say the macOS way is right, other say that way is accurate or this way is more appealing.. |
Thanks for researching this and thanks to others for confirming this fix. As noted above, even if there is a better long term solution this seems like a strict improvement, so let's go with it. I verified locally (non-fractional) that this doesn't negatively impact anything for me. |
GSK_RENDERER=opengl does not properly handle fractional scaling and thus we need to set GDK_DEBUG=gl-no-fractional.
Potential fix for #1938