THPDFTrueTypeMetadata
THPDFTrueTypeData.TryGetMetadata 從實際 sfnt table 回傳的中繼資料
| 欄位 | 意義 |
|---|---|
PostScriptName | 有效的 ASCII name ID 6,缺席或格式錯誤時為空字串 |
UnitsPerEm | 實際 head table 的每 em 單位數,範圍 16 到 16384 |
BoundingBox1000[0..3] | 實際 head table 的 xMin、yMin、xMax 與 yMax,縮放到 1000 單位 |
Ascent1000, Descent1000 | 實際 hhea 的 ascender 與 descender,縮放到 1000 單位 |
CapHeight1000, HasCapHeight | 有 OS/2 cap height 時為其值,否則為 hhea ascender 且 HasCapHeight 為 false |
ItalicAngle, FixedPitch | post table 帶符號的分數 italic angle 與等寬狀態 |
WeightClass | 原始 OS/2 weight class,缺席時為 400 |
EmbeddingFlags, HasEmbeddingFlags | 原始 OS/2 fsType 及該欄位是否存在 |
TrueTypeOutlines | TrueType 簽章一致、glyf 資料非空,且有序的 loca 項目都落在 glyf 範圍內 |
此 record 回報中繼資料與機器可讀權限;呼叫端自行決定嵌入政策,並必須檢查可用性旗標