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

Can support for Material Symbols (variable weight) added? #81

Open
chris70c opened this issue Aug 24, 2022 · 2 comments
Open

Can support for Material Symbols (variable weight) added? #81

chris70c opened this issue Aug 24, 2022 · 2 comments

Comments

@chris70c
Copy link

Would it be possible to add support for the latest Google Material Symbols .otf with ligatures and variable weight support?

Thanks
Chris

@dzhuang
Copy link
Owner

dzhuang commented Aug 25, 2022

Hi, it's simple if we only need the style (outlined, rounded, sharp). However, in terms of variables like FILL, wght, GRAD, opsz, we will need to add extra api, which require quite some work to do and I don't have the time avaiable. A PR would be welcome if you can try to achieve that.

@dzhuang
Copy link
Owner

dzhuang commented Aug 27, 2022

Update: Sorry, after some explorations, I must admit what I said simple previously is actually not that simple since Google Material Symbols were not using what we called unicode or codepoint as a reference to get the font from the font files. So it's a quite complex task, if not impossible, to build a new and consistent unicode base before we can use the current logic of this package.

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

2 participants