-
Notifications
You must be signed in to change notification settings - Fork 16
googlefonts__vertical_metrics_regressions
family hosted on Google Fonts.
- Applies to: TTF
- Fontspector can hotfix?: no
- Fontspector can fix sources?: no
If the family already exists on Google Fonts, we need to ensure that the checked family's vertical metrics are similar. This check will test the following schema which was outlined in Font Bakery issue #1162 [1]:
-
The family should visually have the same vertical metrics as the Regular style hosted on Google Fonts.
-
If the family on Google Fonts has differing hhea and typo metrics, the family being checked should use the typo metrics for both the hhea and typo entries.
-
If the family on Google Fonts has use typo metrics not enabled and the family being checked has it enabled, the hhea and typo metrics should use the family on Google Fonts winAscent and winDescent values.
-
If the upms differ, the values must be scaled so the visual appearance is the same.
[1] https://github.com/fonttools/fontbakery/issues/1162
- googlefonts (in section 'Font File Checks')