New BMFont, now with unicode
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I'll improve the algorithms, but for now I'll be working on the next version of AngelScript. :)
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
When I try to generate fonts with just ASCII encoding instead of unicode, and I thought that should be fast, as it got fewer chars to generate, on the contrary the process is sooooooo much slower(and it seems to go forever, i was never patient enough to wait till it finishes).
Althogh the status bar correctly shows the number of chars selected, but when generating, the numerator goes far more than denominator, and writing chars to textures is painfully slow.
Unicode font generation works fine, but non-unicode is almost unusable.
Thanks for letting me know.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I'll try to look at the code when I get home today, but I'm not sure if I'll get the time.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
[edit] Or it could be because I didn't install the new version over the old like I thought, and was still running the old one. Never mind. [/edit]
[edit2] And while were on the topic, any chance of a command-line version? I'd like to be able to add font generation as a build step. [/edit2]
Just before reading your post I came up with a satisfying solution for generating fonts through a command line option. What I intend to do is to allow the user to save the font configuration from the GUI in an XML file. Through a command line argument the app can automatically generate a new font file from the XML file without user interaction. The XML file can of course also be generated by a third party tool, if that should be preferred.
This will hopefully be in the next version.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
When using Ascii font generation, kerning info for variable-width fonts(like Verdana) still consists of unicode chars.
Of course, they can be easily discarded while parsing, but just a little bit of inperfection :)