TPDFlibGlyphMetrics
Tipos de dados, fontes, métricas
Descrição
Armazena o avanço horizontal não escalado, o left side bearing e o bounding box do glifo retornados por GetFontGlyphOutline
Declaração
TPDFlibGlyphMetrics= Record
GlyphIndex: Integer;
UnitsPerEm: Integer;
AdvanceWidth: Integer;
LeftSideBearing: Integer;
XMin: Integer;
YMin: Integer;
XMax: Integer;
YMax: Integer;
End;Parâmetros
| GlyphIndex | O índice de glifo extraído, com base zero |
|---|---|
| UnitsPerEm | As unidades de coordenadas da fonte em um em |
| AdvanceWidth | O avanço horizontal bruto vindo da tabela hmtx da fonte |
| LeftSideBearing | O left side bearing horizontal bruto vindo da tabela hmtx |
| XMin, YMin, XMax e YMax | A bounding box bruta do glifo a partir da tabela glyf |