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

GlyphIndexO índice de glifo extraído, com base zero
UnitsPerEmAs unidades de coordenadas da fonte em um em
AdvanceWidthO avanço horizontal bruto vindo da tabela hmtx da fonte
LeftSideBearingO left side bearing horizontal bruto vindo da tabela hmtx
XMin, YMin, XMax e YMaxA bounding box bruta do glifo a partir da tabela glyf

Veja também

GetFontGlyphOutline, TPDFlibGlyphPath