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

font_features non-functional on Linux #15752

Open
1 task done
DeeJayLSP opened this issue Aug 3, 2024 · 4 comments
Open
1 task done

font_features non-functional on Linux #15752

DeeJayLSP opened this issue Aug 3, 2024 · 4 comments
Labels
bug [core label] design [core label] font Font feedback for readability, size, style, etc linux

Comments

@DeeJayLSP
Copy link

DeeJayLSP commented Aug 3, 2024

Check for existing issues

  • Completed

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
@DeeJayLSP DeeJayLSP added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Aug 3, 2024
@maxdeviant
Copy link
Member

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

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

@notpeter notpeter added linux font Font feedback for readability, size, style, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Aug 5, 2024
@m4saurabh
Copy link
Contributor

m4saurabh commented Aug 5, 2024

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/

@Barugon Barugon mentioned this issue Aug 7, 2024
1 task
@notpeter notpeter added the design [core label] label Aug 12, 2024
@notpeter notpeter changed the title ui_font_features doesn't work for Inter font font_features non-functional on Linux Aug 12, 2024
@techflashYT
Copy link

Any ETA on when this may be fixed? I'm really liking Zed so far but this is a big blow to me, as I'm a Linux user, and am not a fan of ligatures.

@m4saurabh
Copy link
Contributor

https://mutsuntsai.github.io/fontfreeze/

Use this to disable ligatures for now.
Just turn off calt and dlig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] design [core label] font Font feedback for readability, size, style, etc linux
Projects
None yet
Development

No branches or pull requests

5 participants