THPDFTrueTypeGlyphBounds

Unit: HPDFFontData

THPDFTrueTypeGlyphBounds = record
  MinimumX, MinimumY, MaximumX, MaximumY: Integer;
  Empty: Boolean;
end;

Coordinates are the signed, unscaled font-unit bounds declared by the chosen TrueType glyf header, composite glyphs included

Empty is true for an empty loca range or a zero-contour header, showing that the chosen glyph has no painted outline

The header encloses its outline control points; these values are not a curve-extrema calculation nor a full validation of the chosen outline instructions and composite components

TryGetGlyphBounds fills the record and clears it when the query fails