bubamara Posted August 17, 2013 Share Posted August 17, 2013 I just spent some time with PIXI.BitmapText and found that, when using font which name contains spaces, it doesn't work well. For example font named : "Titan One" won't work. You need to edit your *.fnt file and edit corresponding line to :<info face="Titan" ...> Deleting spaces from font name is needed. And of course don't forget to adjust your javascript line to match font name: var bitmapFontText = new PIXI.BitmapText("text", {font: "32px Titan", align: "left"}); Regards,-bubamara Quote Link to comment Share on other sites More sharing options...
xerver Posted August 17, 2013 Share Posted August 17, 2013 This is a known reported bug, thanks! https://github.com/GoodBoyDigital/pixi.js/issues/215 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.