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


Fixing FONTFORGE Open type font validation errors / TCPDF

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

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脚本中"可见"吗?

感谢

我在跟踪错误时有点被误导了。验证错误仍然会发生,但我不得不用调整我的TCPDF对象

 $pdf->setFontSubsetting(false);

以防止压缩字体。