【发布时间】:2012-08-12 02:31:28
【问题描述】:
我有 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 意味着我在这个索引想法中丢失了一些重要的东西。
问题是:
- 名称 INDEX 与指标/字符字符串 INDEX 之间的关系在哪里?
- FLAG 在哪里,使用哪种预定义字符集?
重要更新
字符集无关紧要!这是错误的方式!
【问题讨论】:
标签: pdf typography opentype fontmetrics