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

Font does not extract its font family in array objects #51

Open
CNV1018 opened this issue Apr 30, 2024 · 1 comment
Open

Font does not extract its font family in array objects #51

CNV1018 opened this issue Apr 30, 2024 · 1 comment

Comments

@CNV1018
Copy link

CNV1018 commented Apr 30, 2024

Hi, I come across these fonts: Bahnschrift, Sitka, Sitka italic, Cascadia Mono, Cascadia Code, and Segoe UI Variable.
I checked the installed fonts, they come in a lot of font styles. However, when I do the Typr.parse(fontContent), it only returns me 1 object, not like TTC font which can return multiple objects.

image

image

I checked online, these fonts are called as Variation Fonts. How can I get the glyph content correctly for each font style?

@photopea
Copy link
Owner

Typr.js does not support variable fonts yet :(

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