-
Notifications
You must be signed in to change notification settings - Fork 16
linegaps
Simon Cozens edited this page May 8, 2025
·
2 revisions
- Applies to: TTF
- Fontspector can hotfix?: no
- Fontspector can fix sources?: no
The LineGap value is a space added to the line height created by the union of the (typo/hhea)Ascender and (typo/hhea)Descender. It is handled differently according to the environment.
This leading value will be added above the text line in most desktop apps. It will be shared above and under in web browsers, and ignored in Windows if Use_Typo_Metrics is disabled.
For better linespacing consistency across platforms, (typo/hhea)LineGap values must be 0.
- https://github.com/fonttools/fontbakery/issues/4133
- https://googlefonts.github.io/gf-guide/metrics.html
-
universal (in section 'Universal Profile Checks')
-
googlefonts (in section 'Universal Profile Checks')