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

Variable fonts #51

Open
LoganDark opened this issue Jan 7, 2022 · 3 comments
Open

Variable fonts #51

LoganDark opened this issue Jan 7, 2022 · 3 comments

Comments

@LoganDark
Copy link
Contributor

Is there any way to load a variable font and then get outlines at different weights? Will I have to parse tables and stuff manually like I have to do for outlines?

@wezm
Copy link
Contributor

wezm commented Jan 8, 2022

Is there any way to load a variable font and then get outlines at different weights?

No, sorry we don't support variable fonts yet.

Will I have to parse tables and stuff manually like I have to do for outlines?

Just in case you missed it, support for accessing outlines was added in the 0.6 release: https://yeslogic.com/blog/allsorts-rust-font-shaping-engine-0-6/#glyph-positioning-and-contours

@LoganDark
Copy link
Contributor Author

LoganDark commented Jan 8, 2022

support for accessing outlines was added in the 0.6 release

by manually parsing tables. There's a LOT of work needed to get outlines. The only way you can find your way is by copy-pasting long examples from the documentation :(

@LoganDark
Copy link
Contributor Author

I'd be willing to sponsor development of this feature in the coming months, if you're interested. I'm very interested in using allsorts for interactive user interfaces

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

No branches or pull requests

2 participants