Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert TTF to FNT with Fontforge

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?

like image 324
user3177112 Avatar asked Jul 02 '14 10:07

user3177112


People also ask

How do I save an edited font in FontForge?

sfd file, you can simply start Fontforge without any argument, and you will be presented with a file chooser dialog. You can also use File->Open to open files. To save files, simply use File->Save as . This saves the font being edited as a *.

How do I create fonts in FontForge?

Click the “Generate” button, and FontForge will build your font file. You can load the font in other applications and run any tests, but when you are ready to return to editing, remember to re-open the saved version of your font that you created before generating your . ttf or . otf output.


1 Answers

I recommend trying Hiero. It can convert any installed system font or font file into .fnt.

You can download it from BadLogicGames.

  • Open runnable-hiero.jar
  • Select the font you want to convert.
    • For installed fonts on your PC: Select System
    • For downloaded font files: Select File and choose a font by clicking ...
  • In the menubar, select File → Save BMFont files (text)
  • Choose a save location and filename ending in .fnt

If done correctly, you should have two files for font_name.fnt and font_name.png

Hiero v3.1 - Bitmap Font Tool

like image 68
Stevoisiak Avatar answered Oct 11 '22 11:10

Stevoisiak