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

Add human readable names for cvXX and ssXX font features #1591

Open
kovidgoyal opened this issue May 24, 2024 · 6 comments
Open

Add human readable names for cvXX and ssXX font features #1591

kovidgoyal opened this issue May 24, 2024 · 6 comments
Milestone

Comments

@kovidgoyal
Copy link

In my application (kitty) I am creating UI that allows users to specify what font features they want to enable, for a given face. The stylistic set and character variation font features can have optional human readable names associated with them that make much more sense than cv01 ss01 etc. See the OpenType spec FeatureParam tables for details:
https://learn.microsoft.com/en-ca/typography/opentype/spec/features_ae#tag-cv01--cv99

For ssXX features just a single name is needed. For cvXX features a name for each parameter value is also needed.

You can see Adobe Source Code Pro as an example of a font that actually names at least ssXX features.

@tonsky
Copy link
Owner

tonsky commented May 24, 2024

Hi! Happy to add! I am using Kitty right now, and the perspective of having settings UI makes me very excited!

@tonsky tonsky added this to the 7 milestone May 24, 2024
@kovidgoyal
Copy link
Author

Cool, here are some screenshots showing fira code (VF) in the new config UI. I plan to eventually add UI to select features to the first screen in this UI.
screenshot
face

@tonsky
Copy link
Owner

tonsky commented May 24, 2024

Even the variable axis! That’s amazing. I don’t think I know a single code editor or terminal that has UI for that, but I have been dreaming about one for a while now https://x.com/nikitonsky/status/1793641900303360137

@romashamin
Copy link

Hey @kovidgoyal what you are doing is amazing! Can I use your screenshots on my Twitter to tell people what you are working on?

@kovidgoyal
Copy link
Author

Sure, but it will be a month or so before its ready for testing.

@kovidgoyal
Copy link
Author

Here is a screenshot of how it looks now with support for features.
screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants