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

Load fonts from file #1109

Closed
MGlolenstine opened this issue Jul 31, 2020 · 1 comment
Closed

Load fonts from file #1109

MGlolenstine opened this issue Jul 31, 2020 · 1 comment

Comments

@MGlolenstine
Copy link
Contributor

I know about this, but I was wondering if there's a way to load that font from a file and not installed one?

If not, is there a way to check if that font was loaded?

@cmyr
Copy link
Member

cmyr commented Aug 22, 2020

as of #1143 this is now possible, although it isn't very well documented; but you can load font data on the text factory, and then use the loaded font by its family name.

@cmyr cmyr closed this as completed Aug 22, 2020
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