How to convert TTF to FNT with Fontforge

前端 未结 3 1605
离开以前
离开以前 2021-01-02 00:17

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 select

3条回答
  •  情深已故
    2021-01-02 01:18

    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

提交回复
热议问题