fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
534 stars 99 forks source link

Fix com.microsoft/check/tnum_glyphs_equal_widths #4689

Closed khaledhosny closed 2 months ago

khaledhosny commented 2 months ago

The code had multiple issues that would result in shaping failure (buffer content would be UNICODE instead of GLYPHS). The new code should be more robust and it asserts that the buffer has the correct content type.

Checklist