TPDFlibGlyphMetrics

データ型、フォント、メトリクス

説明

GetFontGlyphOutline が返すスケールなしの水平アドバンス、左サイドベアリングおよびグリフ境界ボックスを保存します

宣言

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

パラメータ

GlyphIndex抽出された 0 から始まるグリフインデックス
UnitsPerEm1 em あたりのフォント座標単位
AdvanceWidthフォントの hmtx テーブルから取得した生の水平送り幅
LeftSideBearinghmtx テーブルから取得する生の水平方向左サイドベアリング
XMin, YMin, XMax and YMaxglyf テーブルから取得した生のグリフ境界ボックス

関連項目

GetFontGlyphOutline, TPDFlibGlyphPath