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

Is it possible to load a font from a buffer instead of a file? #1614

Closed
LJNeon opened this issue Jun 30, 2020 · 1 comment
Closed

Is it possible to load a font from a buffer instead of a file? #1614

LJNeon opened this issue Jun 30, 2020 · 1 comment

Comments

@LJNeon
Copy link

LJNeon commented Jun 30, 2020

My current setup has a data folder full of config files, images, fonts, etc. to load into memory for use. However, I can't seem to figure out how to supply a font buffer to canvas. The current workaround I'm using is blacklisting the fonts sub folder and supplying the file paths, but this is a lot messier in comparison.

@zbjornson
Copy link
Collaborator

It's not possible yet, see #386 for an explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants