name: Naming Table
The naming table allows copyright notices, font names, family names, style names, and so on to be associated with the TrueType font file.
Requirements
- Name records must be stored in sorted order by Platform ID, Encoding ID, Language ID, and Name ID.
- Far East editions of Windows 95 look at Language IDs in the 'name' table to determine whether a font supports a Far East language. The first Far East Language ID found is used; thus, a font can support only one Far East language. To allow access to the font on other Far East platforms, include English name strings.
- The Platform and Encoding IDs used in the 'name' table must match those in the 'cmap' table.
- There should be no trailing spaces in name strings.
- The contents of the strings themselves should be identical across platforms and encodings. The meanings of the strings should be identical across languages.
- The version string (Name ID 5) should use the format "Version x.xx", where xs are digits 0-9. Some software examines this field to determine the version number of a font. The number should correspond to the fontRevision field in 'head'.
Recommendations
- Microsoft recommends at least two sets of 'name' strings:
- 1 Windows/Unicode/Local (Platform = 3, Encoding = 1, local Language ID). All 'name' strings for this set of name records must use the Unicode encoding. The local language IDs for Far East platforms are:
0x0404 | Traditional Chinese |
0x0804 | Simplified Chinese |
0x0411 | Japanese |
0x0412 | Korean |
- 2. Windows/Unicode/English (Platform = 3, Encoding = 1, Language = 0x0409). English name strings permit font access on any Microsoft platform.
- Provide a full set of name records (name IDs 0-7) for each Platform/Encoding/Language combination.
- Check all copyright and trademark strings for legality.