allsorts
allsorts copied to clipboard
Variable fonts
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?
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
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 :(
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