TPDFlibGlyphMetrics

資料類型、字型、度量

描述

儲存 GetFontGlyphOutline 傳回的未縮放水平前進量、左側邊線(left side bearing)與字形邊界框

宣告

TPDFlibGlyphMetrics= Record
GlyphIndex: Integer;
UnitsPerEm: Integer;
AdvanceWidth: Integer;
LeftSideBearing: Integer;
XMin: Integer;
YMin: Integer;
XMax: Integer;
YMax: Integer;
End;

參數

GlyphIndex被萃取字形的 0-based 索引
UnitsPerEm一個 em 內的字型座標單位數
AdvanceWidth來自字型 hmtx 表的原始水平前進量
LeftSideBearing來自 hmtx 表的原始水平左側留白
XMin、YMin、XMax 與 YMax來自 glyf 表的原始字例外接框

另請參閱

GetFontGlyphOutline, TPDFlibGlyphPath