THPDFTrueTypeGlyphBounds

Unit: HPDFFontData

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

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

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

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

TryGetGlyphBounds populates the record and clears it when the query fails