| Previous | Next |
| MSSIPOTF_E_BAD_OFFSET_TABLE | MSSIPOTF_E_TABLE_LONGWORD |
MSSIPOTF_E_TABLE_TAGORDER
Table-directory tags are duplicated or out of order
MSSIPOTF_E_TABLE_TAGORDER is about the directory, not glyph names or character mappings. Each OpenType table record has a four-byte tag. Duplicate tags make it unclear which table is authoritative, while an unexpected ordering can break code that relies on directory search rules.
The condition often appears after manual binary edits, a merger that kept two copies of the same table, or a writer that emitted records in insertion order rather than the required order. It is not fixed by changing table payloads; the directory must be reconstructed as one coherent list.
How to investigate
- Dump the directory and search for repeated tags such as two
name,cmap, orheadrecords. - Sort records by their binary tag value as required by the writer or validator, rather than by a locale-dependent text comparison.
- Ensure that a collection keeps a separate correct directory for each font resource.
References
Looking for a different code? Search another status or error code.