Google Fonts Onboarding: QA FAIL: PPEM must be an integer on hinted fonts.
Closed this issue · 1 comments
Google Fonts onboarding uses FontBakery for QA. All FAIL
level checks from the universal
, opentype
and googlefonts
profiles must be passing in order to onboard fonts to Google Fonts. Exceptions can be made if necessary.
See the Quality Assurance section of the Google Fonts Guide for more information: https://googlefonts.github.io/gf-guide/qa.html
🔥 FAIL: PPEM must be an integer on hinted fonts. (com.google.fonts/check/integer_ppem_if_hinted)
🔥 FAIL This is a hinted font, so it must have bit 3 set on the flags of the head table, so that PPEM values will be rounded into an integer value.
This can be accomplished by using the 'gftools fix-hinting' command:
# create virtualenv
python3 -m venv venv
# activate virtualenv
source venv/bin/activate
# install gftools
pip install git+https://www.github.com/googlefonts/tools
See the Google Fonts Guide for more information: https://googlefonts.github.io/gf-guide
This should be fixed in the latest version (v1.012) of the fonts.