Skip to content
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

[Linux] Zed does not allow "system-ui"/"sans-serif"/"serif"/"monospace" for font family settings. #22676

Open
1 task done
latin-1 opened this issue Jan 5, 2025 · 0 comments
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@latin-1
Copy link

latin-1 commented Jan 5, 2025

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Fontconfig has some special font families, "system-ui"/"sans-serif"/"serif"/"monospace".
They should be accepted in font family settings. This requires complete fontconfig support.

An example fonts.conf:

  <alias binding="strong">
    <family>monospace</family>
    <prefer>
      <family>Iosevka</family>
    </prefer>
  </alias>
</fontconfig>

With that, "buffer_font-family": "monospace" should function as "buffer_font_family": "Iosevka".

Probably related to #18982, #17203

Zed Version and System Specs

Zed: v0.168.1 (Zed Preview)
OS: Linux Wayland fedora 41
Memory: 27.1 GiB
Architecture: x86_64
GPU: AMD Radeon 780M (RADV GFX1103_R1) || radv || Mesa 24.2.8

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

No response

@latin-1 latin-1 added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant