-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Dark Text on Light Background is Rendered Weirdly #19100
Comments
This is similar to: Can you see if the workaround suggested there improve things? Also please paste your zed environment info into the description. (ctrl-shift-p, "zed: copy system specs to clipboard") |
The issue itself does not seem to be related, though it seems yioannides has had the same issue I face. The mentioned fix with the environment variables did not help, however. Changing the font itself also did not work. |
Yeah, the environment variable trick improves some of GNOME-wide aliasing issues, but Zed (literally) renders the font "wrong" in dark mode and I think it also affects both UI and monospace fonts used in Zed. |
Interestingly this did not help in my case. The light theme font still looks way thinner than the dark theme counterpart. |
I experience the same issue on Arch Linux with SwayWM, and |
This is an issue that prevents me from using Zed for my daily work. The text display on Zed is very poor compared to other text editing tools. I believe that having a good text display is an important aspect that should be prioritized in any text editor. It's unfortunate that this problem has persisted for a long time and has not been addressed. |
I'm using the JetBrains mono fonts, I removed them all and then re-installed only the Semibold variant, which is what I use everywhere anyway. I went with the OTF version as suggested by @yioannides Edit: after a while using this, "looks as it should" probably isn't quite accurate. It does look better, but actually, the same config with a dark theme does still look better somehow (the font appears slightly bolder) |
Are you sure that PR will affect this issue? PR mentions specifically macOS in the title, but OP (and me) are running linux wayland. |
Hmm... I'm not familiar enough with the mechanics of our text system to know if that PR will impact linux or not. I'll let @as-cii chime in. |
Check for existing issues
Describe the bug / provide steps to reproduce it
I wondered why all light themes look terrible in Zed. They look washed out, and in general have less contrast than their dark theme counter-part. I looked around in other editors and found that the fonts in zed seem to be rendered differently compared to elsewhere on my system.
The issue is best shown by the screenshots below.
Environment
System Details Report
Zed system specs
If applicable, add mockups / screenshots to help explain present your vision of the feature
Both Zed and the Gnome Editor use the same color scheme for dark and light mode. Notice how the light scheme in Zed looks drastically different (font appears thinner, more washed out and has seems to have less contrast) to the light theme in the Gnome Editor, or even the dark theme in Zed.
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: