THPDFEmbeddedGlyph Record
Describes one glyph in a positioned run drawn from a caller-owned embedded font program
Declaration
THPDFEmbeddedGlyph = record
GlyphID: Word;
SourceText: WideString;
AdvanceX: Single;
OffsetX: Single;
OffsetY: Single;
HasAdvance: boolean;
end;
Fields
GlyphIDis the exact glyph index in the selected font program and becomes the Identity CIDSourceTextsupplies the UTF-16 text for the glyph'sToUnicodemapping and may contain a complete source clusterAdvanceXoverrides the natural horizontal advance in page units whenHasAdvanceis trueOffsetXandOffsetYposition the glyph relative to the run pen without changing the following pen originHasAdvanceselectsAdvanceXinstead of the fonthmtxadvance