TPDFlibGlyphMetrics

Datatyper, teckensnitt, metrik

Beskrivning

Lagrar den oskalade horisontella advance, vänstra side bearing och glyfbounding box som GetFontGlyphOutline returnerar

Deklaration

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

Parametrar

GlyphIndexDet 0-baserade glyfindex som extraherades
UnitsPerEmTypsnittets koordinatenheter i ett em
AdvanceWidthDen råa horisontella advance från typsnittets hmtx-tabell
LeftSideBearingDen råa vänstra horisontella side bearing från hmtx-tabellen
XMin, YMin, XMax and YMaxThe raw glyph bounding box from the glyf tableDen råa glyfens begränsningsruta från glyf-tabellen

Se även

GetFontGlyphOutline, TPDFlibGlyphPath