-
Notifications
You must be signed in to change notification settings - Fork 72
Description
The code throws an error if the OS/2
table is missing in the source font.
In Apple's reference manual for TrueType fonts, the OS/2
table is listed as an optional table.
The OS/2 table reference says:
The 'OS/2' table consists of a set of metrics that are required by Windows. It is not fully used by Apple platforms.
It also says:
A number of fields in the 'OS/2' table replicate data found elsewhere in the font; most notably, the various ascent and descent fields mirror some of the contents of the horizontal header table. The macOS derives ascent and descent information from the latter; Windows from the former.
It seems that while the OS/2
table might play a role in a system font, it may not be necessary in a web font.
Is there a really good reason why a font should not pass without an OS/2
table? Perhaps it could produce a warning rather than an error.