How to convert TTF to FNT with Fontforge

前端 未结 3 1576
离开以前
离开以前 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:05

    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:

    • Go to Element -> Bitmap Strikes Available.
    • Select the 'Win' button
    • Under 'Point Sizes' enter the size (or sizes) you want.
    • Tick 'Use FreeType' and 'Create Rasterized Strikes' Click OK.

    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.

提交回复
热议问题