2015-02-09 31 views
0

我正在爲使用TCPDF的PHP使用準備自定義OTF字體和AFM文件(Postscript類型1資源)時遇到問題。修復FONTFORGE打開字體驗證錯誤/ 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腳本這些字符「可見」?

謝謝

回答

0

我對跟蹤錯誤有點誤導。 驗證錯誤仍然occure,但我不得不調整我的TCPDF對象與

$pdf->setFontSubsetting(false); 

防止壓縮的字體。