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 Loader :D #5
Comments
I'm using Pixi on a web project and the resource loader is very nice to get also all other necessary stuff. |
Hi Dev Team! |
I've also had luck with https://github.com/bramstein/fontfaceobserver. Would be great to include that as part of the loader. |
So I think that the way to go with this is to just load the font files as arraybuffers without parsing them at all. I don't want to recreate all the things necessary in https://github.com/nodebox/opentype.js for parsing, but its trivial to have this load them. Also sets us up in a good spot to use a library like opentype.js to do SDF text and automatic bitmap fonts. But I have decided that font parsing doesn't belong here, and that binary file loading is as far as I will go with this. Should be easy to add a middleware that uses opentype.js to create a usable font object. |
pixijs/pixijs#1282
Would be ACE
The text was updated successfully, but these errors were encountered: