zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.7k stars 2.92k forks source link

font_features non-functional on Linux #15752

Open DeeJayLSP opened 2 months ago

DeeJayLSP commented 2 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

ui_font_features doesn't seem to change the font at all.

I have set the editor to use the Inter font installed into my system, but enabling features doesn't work at all.

    "ui_font_size": 14, // Works
    "ui_font_family": "Inter", // Works
    "ui_font_features": {
        "cv08": true // Doesn't work, it's supposed to make I serif
    },

By checking the font files on FontForge I can confirm it does have the feature available.

I have no idea of how to use non-system fonts to test.

Environment

Zed: v0.145.1 (Zed) OS: Linux Wayland nobara 40 Memory: 15.4 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

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

Zed.log


maxdeviant commented 2 months ago

I don't think this is related to the font.

On Linux modifying the font features doesn't work currently, IIRC.

m4saurabh commented 2 months ago

ui_font_features buffer_font_features dose not work on linux. This a cosmic-text problem #13951

You can use this for now https://mutsuntsai.github.io/fontfreeze/