bbyford Posted May 20, 2020 Share Posted May 20, 2020 Hi, probably one that crops up a lot - is there a good way to wait, or check load of webfont before displaying? The webfont, supplied by google, currently works fine on second load but on a hard refresh often defaults to a system font which makes literally the whole game look aweful. Also, I find that the font is anti-alised which looks bad against the games pixel art look, is the a setting that sorts this at all? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 20, 2020 Share Posted May 20, 2020 Previous thread: Solution: "That is the problem out of scope of pixijs. https://github.com/bramstein/fontfaceobserver/" bbyford 1 Quote Link to comment Share on other sites More sharing options...
bbyford Posted May 20, 2020 Author Share Posted May 20, 2020 Thanks, I'll look down Observer route. ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.