修复 FONTFORGE 开放式字体验证错误 / TCPDF

Fixing FONTFORGE Open type font validation errors / TCPDF

在准备自定义 OTF 字体和 AFM 文件(Postscript 类型 1 资源)以供 PHP 使用 TCPDF 时,我 运行 遇到了问题。

PHP 未以编程方式打印插槽 fontfontge 有验证错误,所以我认为我的任务是用 fontforge 修复字体,但我不知道如何说实话。

fontforge 打开源字体给我以下验证错误:

 The glyph named mu is mapped to U+00B5
  But It's name indicates it should be mapped to U+03BC
 The glyph named Delta is mapped to U+2206
  But It's name indicates it should be mapped to U+0394
 The glyph named fi is mapped to U+F001
  But It's name indicates it should be mapped to U+FB01
 The glyph named fl is mapped to U+F002
  But It's name indicates it should be mapped to U+FB02

你们能帮我一把,为我的 PHP 脚本制作这些角色 "visible" 吗?

谢谢

我在跟踪错误时有点误导。 验证错误仍然会发生,但我不得不用

调整我的 TCPDF 对象
 $pdf->setFontSubsetting(false);

防止压缩字体。