THPDFTrueTypeMetadata
Metadata returned by THPDFTrueTypeData.TryGetMetadata from actual sfnt tables
| Field | Meaning |
|---|---|
PostScriptName | Valid ASCII name ID 6, or an empty string when absent or malformed |
UnitsPerEm | Actual head units per em, from 16 through 16384 |
BoundingBox1000[0..3] | Actual head xMin, yMin, xMax and yMax scaled to 1000 units |
Ascent1000, Descent1000 | Actual hhea ascender and descender scaled to 1000 units |
CapHeight1000, HasCapHeight | OS/2 cap height when available, otherwise the hhea ascender with HasCapHeight false |
ItalicAngle, FixedPitch | Signed fractional post italic angle and fixed-pitch status |
WeightClass | Raw OS/2 weight class, or 400 when absent |
EmbeddingFlags, HasEmbeddingFlags | Raw OS/2 fsType and whether that field is present |
TrueTypeOutlines | Consistent 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 the availability flags