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

Support setting font feature values #11898

Merged
merged 11 commits into from
May 16, 2024

Conversation

JunkuiZhang
Copy link
Contributor

@JunkuiZhang JunkuiZhang commented May 16, 2024

Now (on macOS and Windows) we can set font feature value:

  "buffer_font_features": {
    "cv01": true,
    "cv03": 3,
    "cv09": 1,
    "VSAH": 7,
    "VSAJ": 8
  }

And one can still use "cv01": true.

Recording.2024-05-16.174507.mp4

Release Notes:

  • Added font feature values, now you can set font features like "cv01": 7.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label May 16, 2024
@JunkuiZhang JunkuiZhang marked this pull request as draft May 16, 2024 09:50
@JunkuiZhang JunkuiZhang changed the title Support more font features Support setting font feature values May 16, 2024
@JunkuiZhang JunkuiZhang marked this pull request as ready for review May 16, 2024 13:32
@mikayla-maki mikayla-maki self-assigned this May 16, 2024
@mikayla-maki
Copy link
Contributor

Thank you!

@mikayla-maki mikayla-maki merged commit 80caa74 into zed-industries:main May 16, 2024
8 checks passed
osiewicz pushed a commit to RemcoSmitsDev/zed that referenced this pull request May 18, 2024
Now (on `macOS` and `Windows`) we can set font feature value:
```rust
  "buffer_font_features": {
    "cv01": true,
    "cv03": 3,
    "cv09": 1,
    "VSAH": 7,
    "VSAJ": 8
  }
```

And one can still use `"cv01": true`.



https://github.com/zed-industries/zed/assets/14981363/3e3fcf4f-abdb-4d9e-a0a6-71dc24a515c2




Release Notes:

- Added font feature values, now you can set font features like `"cv01":
7`.

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
maxdeviant pushed a commit that referenced this pull request May 31, 2024
This follows up the changes in #11611 and #11898 

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants