修复自定义字体垂直位置。 Apple 字体工具套件不再可用?
Fixing custom font vertical position. Apple Font Tool Suite not available anymore?
我在 Fonts 中关注了 link,然后我被重定向到下载站点。在那里我找不到 Apple Font Suite Tool
包,它重命名了吗?或者它不再存在?
谢谢
编辑: 我在我的 iOS 应用程序中使用自定义字体,它们似乎在文本下方添加了一个垂直偏移,类似于所描述的问题在此 post 中,至少在按钮标题方面。提供的解决方案导致使用 Apple Font Suite Tool
来解决这个问题。有替代方法吗?谢谢
包名为 OS X Font Tools
。
我使用了以下命令
ftxdumperfuser -t hhea -A d font.ttf
这会生成一个 xml 文件,您可以调整参数
ftxdumperfuser -t hhea -A f font.ttf
此信息来自此 post:http://www.andyyardley.com/2012/04/24/custom-ios-fonts-and-how-to-fix-the-vertical-position-problem/
对我有用
我在 Fonts 中关注了 link,然后我被重定向到下载站点。在那里我找不到 Apple Font Suite Tool
包,它重命名了吗?或者它不再存在?
谢谢
编辑: 我在我的 iOS 应用程序中使用自定义字体,它们似乎在文本下方添加了一个垂直偏移,类似于所描述的问题在此 post 中,至少在按钮标题方面。提供的解决方案导致使用 Apple Font Suite Tool
来解决这个问题。有替代方法吗?谢谢
包名为 OS X Font Tools
。
我使用了以下命令
ftxdumperfuser -t hhea -A d font.ttf
这会生成一个 xml 文件,您可以调整参数
ftxdumperfuser -t hhea -A f font.ttf
此信息来自此 post:http://www.andyyardley.com/2012/04/24/custom-ios-fonts-and-how-to-fix-the-vertical-position-problem/
对我有用