THPDFTrueTypeData.Create

Unit: HPDFFontData

constructor Create(const Sfnt: TBytes);

Retain a single-font sfnt byte array and read the maxp glyph count

Free the object when finished; invalid or absent maxp data leaves NumGlyphs equal to zero

The object shares Pascal dynamic-array ownership with the caller; preserve the byte contents until the object is freed

THPDFTrueTypeData · Linux portable core and platform contracts