-
Notifications
You must be signed in to change notification settings - Fork 594
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
How to specify certain character variants (cv) in VS Code? #1376
Comments
|
But note that: Harfbuzz (the thing Chromium used to interpret OT features) have bugs that doesn't support too "long" feature list, so be careful. |
@be5invis Thank you so much for clarifying! Would you consider putting this instruction into the README file so that maybe people like me would not be confused about the usage anymore? |
In the website there's already an interactive section that shows how to use CV/SS in CSS. |
I had the same question about something that was not CSS-based, but eventually I figured it out for myself. I don't know if it's worth documenting as a part of this project, but since Google brought me here I'll just paste what [I think] I have figured out. These all change the style of the ~/.config/fontconfig/fonts.conf (this works on foot, not sure what else): <match target="pattern">
<test name="family" compare="contains"><string>Iosevka</string></test>
<edit name="fontfeatures" mode="append">
<string>cv96=8</string>
<string>THND</string>
</edit>
</match> ~/.config/foot/foot.ini:
(don't expect ~/.config/kitty/kitty.conf
Are these actually right? I don't know. They seem to work with limited testing, but there may be nuance. |
Hi, I am sorry for the stupid question, but I just could not find the answer from the internet after googling for a long time.
If I have downloaded an arbitrary released stylistic set, but I want to specify some certain character variants when I use
Iosevka
in my editor (mainly Visual Studio Code), how could I do that? In the README file ofIosevka
it says:And I found here, VSC finally became able to configure
OpenType font feature
, by the setting"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'"
. It works for other fonts like Cascadia Code, for example, I could set"editor.fontLigatures": "'calt', 'ss01'"
to specify the usage of their alternative glyph sets, but how could I set, for example,CV71
to4
so thatIosevka
has a dot inside glyph0
, according to this table?Thank you so much for creating this.
The text was updated successfully, but these errors were encountered: