Hi, I've having difficulty importing and displaying bitmap fonts.
I can create .png and .fnt files and file them under
/resources/resource/fonts/<myfont>.png
/resources/resource/fonts/<myfont>.fnt
Then I update my resources.xml file as such
<resources>
<fonts>
<font id="id_<myfont>" filename="fonts/<myfont>.fnt" filter="0123456789" />
</fonts>
</resources>
And load the resource
font = Ui.loadResource(Rez.Fonts.id_<myfont>);
But it still won't display when I
dc.drawText((width/2),(width/2),font,"12",Gfx.TEXT_JUSTIFY_CENTER);
Nothing is overlapping. Colors are not the same as the background. I can swap "font" with Gfx.FONT_MEDIUM and it will work just fine.
Any ideas? Am I missing something? How might I best approach debugging this issue? Thanks!