-
-
Notifications
You must be signed in to change notification settings - Fork 873
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
Support variable fonts #185
Comments
Same here. With these fonts:
|
Typst does not support variable fonts at the moment. They could be a good addition. @owiecc This is an unrelated bug on normal font discovery. I will file a separate issue. |
What is missing here? Is any current work addressing this? |
There is no current work. Supporting variable fonts is a major effort. It needs large changes to the font handling and to the PDF export. |
@laurmaedje I work on the Google Fonts team and I'm a big proponent for variable fonts. If you want any free consulting advice on this topic, please reach out to me or [email protected] :) I wrote a little about this for the Flutter team here |
@davelab6 Thanks for the offer! We'll get back to it when we start work on variable fonts. |
love it :)
|
for example, https://fonts.google.com/specimen/Bitter, if have the variable font version
Bitter-VariableFont_wght.ttf
installed, selecting font weight by#set text(font: "Bitter", weight: "medium")
would still render the ExtraLight variant and setting other weight options would not change the font weight appeared in the PDF output anyway.The text was updated successfully, but these errors were encountered: