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, FixedPitchpost table 帶符號的分數 italic angle 與等寬狀態
WeightClass原始 OS/2 weight class,缺席時為 400
EmbeddingFlags, HasEmbeddingFlags原始 OS/2 fsType 及該欄位是否存在
TrueTypeOutlinesTrueType 簽章一致、glyf 資料非空,且有序的 loca 項目都落在 glyf 範圍內

此 record 回報中繼資料與機器可讀權限;呼叫端自行決定嵌入政策,並必須檢查可用性旗標