I’ve needed to create a bitmap font for an OpenFL project with BMFont. The font that I wanted to use was Lithos Black. To my surprise that took a lot of effort.
At first I tried selecting the font face, but BMFont has no way to select a spefic font face. Then I tried the .ttf-File option, but BMFont completely ignores what the user configures as font file, it only uses the selected font.
BMFont groups font faces into a single entry
After some research I realized that BMFont grouped several Lithos font faces into a single entry with no way to select a specific font face.
A simple fix: Deleting unneeded font faces from the windows fonts folder
To fix that I could have deleted all font faces that I didn’t need for the bitmap font. But I didn’t want to constantly change active fonts on my development system just because BMFont lacks in the font face field.
The lesser intrusive method: A virtual machine
In the end I decided to use a blank windows 7 virtual machine. I only installed the font face I needed and BMFont. With just one font there’s no grouping that hides font faces. And thanks to VMWare tools, the whole process is manual but fast and easy. I am not happy that I didn’t find a way to fully automate the process but I rarely need to redo bitmap font files, so decided to work with it for now.
Der Beitrag Accessing hidden font faces when using BMFont erschien zuerst auf notboring dev blog.