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

How to load font in browser? #256

Closed
defpis opened this issue Jul 8, 2021 · 2 comments
Closed

How to load font in browser? #256

defpis opened this issue Jul 8, 2021 · 2 comments

Comments

@defpis
Copy link

defpis commented Jul 8, 2021

Is there some apis like opentype.js opentype.load('font.ttf') to load font by http

@Pomax
Copy link
Contributor

Pomax commented Jul 8, 2021

see if #77 (comment) works for you, although opentype.js (for glyph work) or lib-font.js (for non-glyph work) might be better supported candidates. No one's really working on fontkit atm, unfortunately.

@defpis
Copy link
Author

defpis commented Jul 9, 2021

Thanks

@defpis defpis closed this as completed Jul 9, 2021
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