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

Handle variable fonts #20

Open
rememberlenny opened this issue Feb 28, 2019 · 1 comment
Open

Handle variable fonts #20

rememberlenny opened this issue Feb 28, 2019 · 1 comment

Comments

@rememberlenny
Copy link

rememberlenny commented Feb 28, 2019

Currently when testing a variable font, the variable headers and instance tables are attributing unknownN as the key name. Variable fonts and their respective variable settings are not usable as a result.

The variable headings are in the font's Naming table (name), but show up as numbers - which are translating them into UnknownN values.

screen shot 2019-02-28 at 10 40 58 am

Currently the fonts fvar table is being dropped: https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6fvar.html

Ideally the fvar table should appear as a font object key.

Per: https://opentype.js.org/font-inspector.html
screen shot 2019-02-28 at 10 48 06 am

Testable variable font: https://github.com/TypeNetwork/Roboto-Delta

@brianpeiris
Copy link

For others' reference. If you're using three.js to render these fonts, you can use TextGeometry's bevel settings to effectively increase the weight of a rendered font.

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