THPDFTrueTypeData.BuildUnicodeByGID

Unit: HPDFFontData

procedure BuildUnicodeByGID(out Map: THPDFUnicodeByGID);

Build a reverse Unicode map keyed by glyph ID

The output uses ordinary dynamic-array ownership; unmapped entries are zero

The map follows the existing CMap priority and supplementary character handling

For supported simple-font symbol or Macintosh byte maps, recovered glyph Unicode remains separate from the physical byte-to-glyph map; a PDF character code must not be used directly as a glyph-map index

THPDFTrueTypeData · Linux portable core and platform contracts