CinkoNaap Posted March 10, 2014 Share Posted March 10, 2014 Is it possible to achive letterspacing with BitmapText?Regards,Marcin Quote Link to comment Share on other sites More sharing options...
agmcleod Posted March 10, 2014 Share Posted March 10, 2014 Probably need to do it in your glyph editing program. I think the one I use has it, but I don't recall 100%. I use bmGlyph. Quote Link to comment Share on other sites More sharing options...
CinkoNaap Posted March 10, 2014 Author Share Posted March 10, 2014 Yea, but in my opionion letter spacing, in opposite to kerning, shouldn't be bound to glyph map, but rather to individual text field. Quote Link to comment Share on other sites More sharing options...
xerver Posted March 10, 2014 Share Posted March 10, 2014 For now letter spacing is accomplished via the 'xadvance' property exported by the glyph program. If you thing the object should have it's own spacing property feel free to open an issue, or even better submit a pull request. Thanks for using pixi! Quote Link to comment Share on other sites More sharing options...
Sebastian S Posted March 26, 2015 Share Posted March 26, 2015 I'm looking at the exported FNT files and I would like to know what the various values equate to in pixiJs's BitmapText, ie: what is the effect of each of the XML properties below (particularly xoffset, yoffset and xadvance):<char id="163" x="115" y="329" width="114" height="165" xoffset="2" yoffset="-85" xadvance="115" />Also, can you explain 'letter spacing' relating to xadvance? Quote Link to comment Share on other sites More sharing options...
Trudo Posted May 20, 2019 Share Posted May 20, 2019 See http://pixijs.download/dev/docs/PIXI.BitmapText.html#letterSpacing 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.