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

Font Loader :D #5

Closed
GoodBoyDigital opened this issue Mar 3, 2015 · 4 comments
Closed

Font Loader :D #5

GoodBoyDigital opened this issue Mar 3, 2015 · 4 comments

Comments

@GoodBoyDigital
Copy link

pixijs/pixijs#1282

Would be ACE

@vlucendo
Copy link
Contributor

I'm using Pixi on a web project and the resource loader is very nice to get also all other necessary stuff.
A font loader or at least a detector would be very cool indeed :)

@kittykatattack
Copy link

Hi Dev Team!
Have you guys just considered forking Font.js and integrating it into the loader?

@davidfig
Copy link

I've also had luck with https://github.com/bramstein/fontfaceobserver. Would be great to include that as part of the loader.

@englercj englercj mentioned this issue Oct 14, 2016
4 tasks
@englercj
Copy link
Owner

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.

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

5 participants