tonyw Posted May 15, 2017 Share Posted May 15, 2017 hi, I'm trying to get bitmap fonts working, with little success. Now, the font that the pixi example uses, does work, e.g. - https://github.com/pixijs/examples/blob/gh-pages/required/assets/desyrel.xml demo page - http://pixijs.github.io/examples/#/demos/text-demo.js Bit whatever I output myself, from https://www.bmglyph.com/ as recommended here - http://pixijs.download/release/docs/PIXI.extras.BitmapText.html - does not work, failing with - TypeError: undefined is not an object (evaluating 'BitmapText.fonts[this._font.name].size') So, I'm wondering, what exactly did they output the example font, desyrel.xml, from? I'm using the Mac exporter that they recommend. Maybe that actually doesn't work, and only the windows exporter works? Um, kinda stuck. Any ideas? thanks, Tony demiculus 1 Quote Link to comment Share on other sites More sharing options...
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.