2D Toolkit Forum

2D Toolkit => Support => Topic started by: Rirath on December 30, 2013, 12:34:56 am

Title: BMFont + 2D Toolkit output issues?
Post by: Rirath on December 30, 2013, 12:34:56 am
Hey guys, this may arguably be more of a BMFont issue, but I'm pretty sure I followed the instructions (http://2dtoolkit.com/docs/latest/tutorial/preparing_a_font.html) to the letter and I was having no luck converting a TTF to work with 2D Toolkit.  I repeatedly got the error "only one page supported in font" despite only having a single page.  So for anyone else having the same problem:

In comparing the .fnt file with some demo files, the key difference appears to be that BMFont is setting chnl=15, while 2D Toolkit appears to expect chnl=0.  Changing this in a text editor (with no other changes) cleared things right up.  Any idea if I missed a setting somewhere, or has BMFont just changed something since the docs were written?