| Previous | Next |
| MSSIPOTF_E_BAD_MAGICNUMBER | MSSIPOTF_E_TABLE_TAGORDER |
MSSIPOTF_E_BAD_OFFSET_TABLE
The Offset Table cannot be trusted
MSSIPOTF_E_BAD_OFFSET_TABLE concerns the fixed metadata at the beginning of an OpenType font that tells a reader how many directory records follow and how binary search parameters are represented. If those values disagree, the validator cannot safely discover the table directory.
This is earlier in the parsing chain than a bad individual table offset. A file can have plausible table bytes and still fail because the count or search-related fields make the directory ambiguous or impossible to parse. Recompute the Offset Table from the actual number of table records instead of copying values from a different font.
How to investigate
- Compare the scalar type, table count, and directory length against the file bytes.
- Regenerate the directory from the table set; do not retain a count from a pre-subset or pre-merge build.
- Validate the rebuilt font with more than one parser before signing or distributing it.
References
- Windows error-code reference
- OpenType font file: Offset Table and Table Directory
- OpenType recommendations
Looking for a different code? Search another status or error code.