THPDFTrueTypeMetadata

Metadata returned by THPDFTrueTypeData.TryGetMetadata from actual sfnt tables

FieldMeaning
PostScriptNameValid ASCII name ID 6, or an empty string when absent or malformed
UnitsPerEmActual head units per em, from 16 through 16384
BoundingBox1000[0..3]Actual head xMin, yMin, xMax, and yMax scaled to 1000 units
Ascent1000, Descent1000Actual hhea ascender and descender scaled to 1000 units
CapHeight1000, HasCapHeightOS/2 cap height when available, otherwise the hhea ascender with HasCapHeight false
ItalicAngle, FixedPitchSigned fractional post italic angle and fixed-pitch status
WeightClassRaw OS/2 weight class, or 400 when absent
EmbeddingFlags, HasEmbeddingFlagsRaw OS/2 fsType and whether that field is present
TrueTypeOutlinesConsistent TrueType signature, nonempty glyf data, and ordered loca entries contained within glyf

The record reports metadata and machine-readable permissions; callers choose their embedding policy and must check availability flags