to create fonts for your jME3 applications and NiftyGUI interfaces I now added a font creator to jMP. Just select a project and press “New File”, then select “GUI” → “Font”, you will be presented with a list of all fonts installed on your computer:
When pressing “Finish” a PNG and FNT file will be created in the Interface/Fonts/ assets directory, you can use the font e.g. in NiftyGUI by specifying e.g. font=“Interface/Fonts/Arial.fnt” in a nifty text tag.
Available in the nightly update center, you have to install the plugin manually.
Work in progress, please tell me about any problems you encounter. I also don’t know what all of the parameters in the fnt file really do, if you see errors or problems, please give me a note.
Selection of the basic font styles (plain, italic, bold) has been added (will only be available in the next nightly though).
P.S. Creasy, I saw your post Its really easy jMP code, if you want to take a whack at it, theres docs on how to build the sdk and change stuff in the wiki.
doesn’t really make sense, there is no “ideal” image size. That parameter is left in deliberately.
the character sets are defined as per the normal definitions, atm only ASCII is supported. support for UTF-8 etc. can and will be added at some point but not for random chatacter combinations
Ahh, it was not a question. It was just a confirmation that it does use the system fonts on OS X (using a mac myself and I’m happy to to be in the same “team” as Normen :P)