-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Blurry font rendering (on Linux at least) #11676
Comments
VorpalBlade
added
admin read
Pending admin review
defect
[core label]
triage
Maintainer needs to classify the issue
labels
May 10, 2024
Moshyfawn
added
font
Font feedback for readability, size, style, etc
and removed
triage
Maintainer needs to classify the issue
labels
May 11, 2024
Possibly related: |
You're right. Let's close this in favour of #7992 to keep the conversation in one place. Be sure to +👍 and follow the other thread. Duplicate of: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check for existing issues
Describe the bug / provide steps to reproduce it
So I tried the pre-alpha of Zed on Linux (I don't have a Mac), built it with
cargo build --release
) but it seems that font rendering doesn't work properly on low-DPI monitors (I only have a pair of old ~96 DPI monitors). Zed is ignoring my system wide font settings of full hinting, greyscale antialiasing which make such screens work. This results in very blurry rendering.I tried a variety of fonts that work fine in other editors. For example "Terminus (TTF)" which is a bitmap font (converted to TTF) and should render with no anti-aliasing whatsoever. This works fine in VSCode.
Dejavu Sans Mono is better, but again Zed doesn't seem to be rendering like other programs on my system
Here is my
~/.config/fontconfig/fonts.conf
(which i would expect to take effect for all programs on the system):As is it is, on my monitor Zed is too blurry to be usable (I'm really sensitive to blurry fonts and get literal headaches from it). I could also not find a way to turn off antialiasing entirely (which might be an acceptable workaround) in https://zed.dev/docs/configuring-zed (there is no mention of "antialias" at all in the page.
Environment
Zed: v1.0.0 (Zed Dev df190ea)
OS: Linux 1.0.0 (actually this is Arch Linux, I think this command is a bit broken?)
Memory: 31 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Blurry font rendering in Zed (sharp in VSCode) when using "Terminus (TTF)" (both at size 18), which is a bitmap font, best viewed at 1:1 pixels on a 96 DPI screen, or at an exact scaling (e.g. 200%) on a higher DPI screen:
When using "Dejavu Sans Mono" the difference is smaller, but Zed is still blurrier. Both are at font size 18 again:
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Apparently I don't have a log file:
The text was updated successfully, but these errors were encountered: