The OS/2 Vendor ID is specced as a string of four characters. However, a font Vendor ID will often be fewer than four characters, so this field gets filled in with either spaces or null characters. For example, here’s how vendor ABC might appear:
<achVendID value="ABC\x00"/>
<achVendID value="ABC "/>
So, this PR strips those filled characters out before comparing the vendor ID against the configured expectation.
Description
The OS/2 Vendor ID is specced as a string of four characters. However, a font Vendor ID will often be fewer than four characters, so this field gets filled in with either spaces or null characters. For example, here’s how vendor
ABC
might appear:So, this PR strips those filled characters out before comparing the vendor ID against the configured expectation.
Checklist
CHANGELOG.md