In the esoteric case when a font has an OS/2 table with version < 2, the x- and Cap-height alignment checks error when accessing the sxHeight and sCapHeight fields.
I have modified the check so that in this case the x-height and Cap-Height checks are avoided, and additionally a warning is issued.
Description
Relates to issue #4623
In the esoteric case when a font has an
OS/2
table with version < 2, the x- and Cap-height alignment checks error when accessing thesxHeight
andsCapHeight
fields.I have modified the check so that in this case the x-height and Cap-Height checks are avoided, and additionally a warning is issued.
Checklist
CHANGELOG.md