Opentype features? Specifically: prefer slashed zero #6542
-
Does anyone know if there is a way to select opentype font features? The mono type face I prefer has a slashed zero, but not as a default. It seems VSCode handles this with "editor.fontLigatures" Using the patterns in settings.json, I suppose font features could be selected like this? "buffer_font_features" : |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
The keys in |
Beta Was this translation helpful? Give feedback.
The keys in
buffer_font_features
are the names of the opentype features you want to enable/disable. You'll have to check which feature controls them in the font you are using as that appears to not be very consistent. The webpage of the font should contain a listing of features and what they do, but that failing you can drop the file onto https://fontdrop.info/ and it'll show you a listing and attempt to show the effect of each feature (it has trouble with ligatures, but glyph variants at least should be fine).