zed
zed copied to clipboard
Zed always using lightest variation of font
Summary
Zed is incorrectly always using the lightest variation of font.
Description
I'm on Linux. I have Monaspace Neon (specifically MonaspaceNeonVarVF[wght,wdth,slnt].ttf) installed, and I told Zed to use it with "buffer_font_family": "Monaspace Neon Var". However, it's using the lightest variant of it instead of the regular variant. Even if I set "buffer_font_weight": 800, it still uses the lightest weight instead of the selected weight.
Zed Version and System Specs
Zed: v0.182.11 (Zed) OS: Linux Wayland ubuntu 25.04 Memory: 14.2 GiB Architecture: aarch64 GPU: Adreno X1-85 || turnip Mesa driver || Mesa 25.0.3-1ubuntu2
i had a similar problem using the variant version of JetBrains Mono. My workaround was to install each different style (regular, medium, bold, etc...) separately.
I am able to adjust font weight but adjustment isn't analog as expected.
"buffer_font_weight": 500 seems to have no effect (very light weight)
but "buffer_font_weight": 510 is very heavy weight.
Fedora Linux 42 (Gnome / Wayland) Zed Preview 0.184.8
Additionally, font weight seems to be different between Light and Dark mode.
510 is far heavier in dark mode than it is in light mode.
Issue may be related to the font files themselves.
The font weight issue I reported above was using "IBM Plex Mono" (in Fedora repos). After changing to "JetBrains Mono" (in Fedora repos) font weight adjustment seems analog / to apply as expected.
Hopefully this helps some people out.
I think this is likely a duplicate of:
- https://github.com/zed-industries/zed/issues/30383
Please 👍 and subscribe to track progress.
This issue came first but okay