BMFont. Tool to convert fnt file from xml to text format. (SOLVED)

#1

I was working on a project with Bitmap fonts.
So I had fnt + png files, but defold did not understand them. It turned out, that fnt file was in xml format and defold only reads text format.
I did not find a way to make ShoeBox or Hiero or Bitmap Font Generator do the convertion for me. Though they read the xml version without problems.
So I wrote simple converter on c#. And I upload it here, in case someone ever need it.FontXmlToTextConverter.zip (31.5 KB)
I used Visual Studio 2015 Community Edition to build it. This archive has both source code and exe file for lazy ones.

2 Likes