Convert a BMFont font to an Irrlicht XML font.
The script needs a C++17 compatible compiler and optionally CMake.
With CMake:
mkdir build
cd build
cmake ..
make
Without CMake:
g++ -std=c++17 main.cpp -o BMFontToIrrlicht
./BMFontToIrrlicht input.fnt output.xml
This has only been tested for fonts created by LibGDX's Hiero.
Missing support for:
- Padding
- Pages
- Channels
- Non-ascii chars
- Proper overhang/underhang