2D Toolkit Forum

2D Toolkit => Support => Topic started by: bigtunacan on June 13, 2012, 07:04:05 pm

Title: Font Problems
Post by: bigtunacan on June 13, 2012, 07:04:05 pm
I'm trying to create a Font. 

First I tried to create using Hiero since I work primarily on Mac.  I only get a .fnt file from Hiero which I'm not able to use as a texture.  I do not see an option to export to bmp, tga, etc... from Hiero.  So then I moved over to a PC to try creating a font from BMFont.  From BMFont I do not see a way to load my font files which are all in format otf.  Any pointers?
Title: Re: Font Problems
Post by: Dakwamine on June 14, 2012, 03:35:37 pm
If you have an OTF, can you consider generating a TTF (or any other font format that BMFont supports) by using this tool: http://www.fontsquirrel.com/fontface/generator (http://www.fontsquirrel.com/fontface/generator)?
Title: Re: Font Problems
Post by: unikronsoftware on June 14, 2012, 05:00:30 pm
Hi,

With Hiero, when you save a .fnt file (File > Save BmFont text file), it saves pngs in the same directory automatically. You can use these directly in 2D TOolkit, as long as you observe the note below -

You should switch to glyph cache and change "Page width" and "Page height" to a larger number so it fits everything into one texture to be compatible with 2D Toolkit, but otherwise it should just work.

unikron