| Previous | Next |
| MSSIPOTF_E_NOHEADTABLE | MSSIPOTF_E_BAD_OFFSET_TABLE |
MSSIPOTF_E_BAD_MAGICNUMBER
The font header has the wrong magic number
MSSIPOTF_E_BAD_MAGICNUMBER means the checker located the 'head' table but its magicNumber field did not contain the required constant 0x5F0F3CF5. This field is part of the font header structure and helps distinguish a valid header from misplaced or corrupted bytes.
Do not confuse this with the scalar type at the beginning of the font or with a table tag. A stale directory offset can make the validator read another table as 'head', so verify the directory record and range before editing the value itself. If the bytes really are wrong, rebuild the header and recalculate checksums.
How to investigate
- Confirm the
'head'record's offset and length before reading the field. - Compare the header against a known-good build from the same font source and toolchain.
- After any correction, verify both the individual table checksum and the file-wide checksum adjustment.
References
Looking for a different code? Search another status or error code.
