TPDFlibGlyphMetrics
数据类型、字体、度量
描述
存储 GetFontGlyphOutline 返回的未缩放水平前进量、左侧字距和字形边界框
声明
TPDFlibGlyphMetrics= Record
GlyphIndex: Integer;
UnitsPerEm: Integer;
AdvanceWidth: Integer;
LeftSideBearing: Integer;
XMin: Integer;
YMin: Integer;
XMax: Integer;
YMax: Integer;
End;参数
| GlyphIndex | 已提取的从零开始计数的字形索引 |
|---|---|
| UnitsPerEm | 一个 em 中的字体坐标单位数 |
| AdvanceWidth | 字体 hmtx 表中的原始水平进距 |
| LeftSideBearing | 来自 hmtx 表的原始水平左侧字距 |
| XMin, YMin, XMax and YMax | 来自 glyf 表的原始字形边界框 |