@@ -89,33 +89,38 @@ $ font-line report Hack-Regular.ttf
89
89
##### Example Font Vertical Metrics Report
90
90
```
91
91
=== Hack-Regular.ttf ===
92
- Version 2.019; ttfautohint (v1.4.1) -l 4 -r 80 -G 350 -x 0 -H 181 -D latn -f latn -w G -W -t -X ""
93
- SHA1: 3d5f3ccfa40406ad252b76a2219cb629df8e5ab3
92
+ Version 2.020;DEV-03192016;
93
+ SHA1: 638f033cc1b6a21597359278bee62cf7e96557ff
94
94
95
+ --- Metrics ---
95
96
[head] Units per Em: 2048
97
+ [head] yMax: 2001
98
+ [head] yMin: -573
96
99
[OS/2] TypoAscender: 1556
97
100
[OS/2] TypoDescender: -492
98
- [OS/2] WinAscent: 1901
99
- [OS/2] WinDescent: 483
100
- [hhea] Ascent: 1901
101
- [hhea] Descent: -483
101
+ [OS/2] WinAscent: 1901
102
+ [OS/2] WinDescent: 483
103
+ [hhea] Ascent: 1901
104
+ [hhea] Descent: -483
102
105
103
- [hhea] LineGap: 0
106
+ [hhea] LineGap: 0
104
107
[OS/2] TypoLineGap: 410
105
108
106
109
--- Height Calculations by Table Values ---
107
110
[OS/2] TypoAscender to TypoDescender: 2048
108
- [OS/2] WinAscent to WinDescent: 2384
109
- [hhea] Ascent to Descent: 2384
111
+ [OS/2] WinAscent to WinDescent: 2384
112
+ [hhea] Ascent to Descent: 2384
110
113
111
114
--- Delta Values ---
112
- WinAscent to TypoAscender: 345
113
- Ascent to TypoAscender: 345
114
- WinDescent to TypoDescender: -9
115
- Descent to TypoDescender: -9
116
-
117
- --- Ratio of TypoLineGap to UPM ---
118
- TypoLineGap / UPM: 0.2
115
+ WinAscent to TypoAscender: 345
116
+ Ascent to TypoAscender: 345
117
+ WinDescent to TypoDescender: -9
118
+ Descent to TypoDescender: -9
119
+
120
+ --- Ratios ---
121
+ (Typo Asc + Desc + Linegap) / UPM: 1.2
122
+ (winAsc + winDesc) / UPM: 1.16
123
+ (hhea Asc + Desc) / UPM: 1.16
119
124
```
120
125
121
126
The report includes the font version string, a SHA-1 hash digest of the font file, and OpenType table metrics that are associated with line spacing in the font.
0 commit comments