I have a TTF font, that needs to be converted in FNT (and ideally in pcf too). I tried Fontforge, but when I loaded font and chose to generate font - nothing could be selected from the list on the right, except "No bitmap fonts" though there was WIN FNT. Can anyone help me with this?
相关问题
- how to Enumerate local fonts in silverlight 4
- Scaling png font down
- GD error while try load font
- Rails 4 - Custom Fonts
- Underline is drawn outside of rectangle reported b
I recommend trying Hiero. It can convert any installed system font or font file into
.fnt
.You can download it from BadLogicGames.
.fnt
If done correctly, you should have two files for
font_name.fnt
andfont_name.png
FNT is a bitmap format while TTF is an outline/vector format. To get FNT output, you'll first need to create a bitmap strike or strikes. Fontforge can do this if it has been built with Freetype included:
You should now have a bitmap strike to work with. Go to Generate Fonts; on the left side select 'No Outline Font', and on the right side select Windows FNT, pick the size you want, and generate.