我有MinionPro-Regular.otf文件。我使用它的結構。我發現它具有:開放式字體中的字形寬度
Table 'hhea': reference on 1668 metrics in 'hmtx' table.
Table 'hmtx': 1668 pairs of hMetrics('advanceWidth', 'leftSideBearing').
Table 'CFF ': 1429 glyph names.
Table 'CFF ': param 'CharStrings' have offset to the index of 1668 elements.
Each element consist the Width property if it is not the same
as DefaultWidth.
CFF規範告訴作爲,那OTF字體總字形數量(或者,如果字體嵌入PDF文件的CFF流剛剛提出)必須是:
- 帶有預定義的ISO Adobe字符集(228個名稱)
1429 + 228 = 1649
; - 帶有預定義的「專家」字符集(115個名字)
1429 + 115 = 1544
; - 帶有預定義的「專家子集」字符集(86名稱)
1429 + 116 = 1515
。
最接近1668的數字是1649,但差異19意味着我失去了一些重要的東西在這個索引的想法。
的問題是:
- 在哪裏名字指數和指標/ charstrings指數之間的關係?
- FLAG在哪裏,在使用什麼樣的預定義字符集?
重要更新
的集並不重要!這是錯誤的方式!