如何使用Fontforge将TTF转换为FNT [英] How to convert TTF to FNT with Fontforge

查看:922
本文介绍了如何使用Fontforge将TTF转换为FNT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个TTF字体,需要将其转换为FNT(最好也转换为pcf).我尝试了Fontforge,但是当我加载字体并选择生成字体时-尽管有WIN FNT,但是除了没有位图字体"之外,无法从右侧列表中选择任何内容.有人可以帮我吗?

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?

推荐答案

FNT是位图格式,而TTF是轮廓/矢量格式.要获得FNT输出,您首先需要创建一个或多个位图罢工.如果Fontforge已使用Freetype构建,则可以执行此操作:

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:

  • 转到元素->可用位图罢工.
  • 选择赢"按钮
  • 在磅值"下输入所需的尺寸.
  • 勾选使用FreeType"和创建栅格化的罢工",然后单击确定".

您现在应该可以使用位图标记.转到生成字体;在左侧选择无轮廓字体",在右侧选择Windows FNT,选择所需的大小并生成.

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.

这篇关于如何使用Fontforge将TTF转换为FNT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆