Skip to content

Commit a5feb0c

Browse files
committed
updated README with new report format
1 parent e795c96 commit a5feb0c

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

README.md

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ The following OpenType vertical metrics values and calculated values derived fro
7474
- [OS/2] WinAscent
7575
- [OS/2] WinDescent
7676
- [OS/2] TypoLineGap
77+
- [OS/2] xHeight
78+
- [OS/2] CapHeight
7779
- [hhea] Ascent
7880
- [hhea] Descent
7981
- [hhea] lineGap
@@ -98,38 +100,40 @@ $ font-line report Hack-Regular.ttf
98100
##### Example Font Vertical Metrics Report
99101
```
100102
=== Hack-Regular.ttf ===
101-
Version 2.020;DEV-03192016;
102-
SHA1: 638f033cc1b6a21597359278bee62cf7e96557ff
103+
Version 3.001; 379b3ad6d-dev
104+
SHA1: 20d02edca75f2d23787e80161a64418598c850de
103105
104106
--- Metrics ---
105107
[head] Units per Em: 2048
106-
[head] yMax: 2001
107-
[head] yMin: -573
108+
[head] yMax: 2027
109+
[head] yMin: -605
110+
[OS/2] CapHeight: 1493
111+
[OS/2] xHeight: 1120
108112
[OS/2] TypoAscender: 1556
109113
[OS/2] TypoDescender: -492
110-
[OS/2] WinAscent: 1901
111-
[OS/2] WinDescent: 483
112-
[hhea] Ascent: 1901
113-
[hhea] Descent: -483
114+
[OS/2] WinAscent: 1901
115+
[OS/2] WinDescent: 483
116+
[hhea] Ascent: 1901
117+
[hhea] Descent: -483
114118
115-
[hhea] LineGap: 0
119+
[hhea] LineGap: 0
116120
[OS/2] TypoLineGap: 410
117121
118122
--- Height Calculations by Table Values ---
119123
[OS/2] TypoAscender to TypoDescender: 2048
120-
[OS/2] WinAscent to WinDescent: 2384
121-
[hhea] Ascent to Descent: 2384
124+
[OS/2] WinAscent to WinDescent: 2384
125+
[hhea] Ascent to Descent: 2384
122126
123127
--- Delta Values ---
124-
WinAscent to TypoAscender: 345
125-
Ascent to TypoAscender: 345
126-
WinDescent to TypoDescender: -9
127-
Descent to TypoDescender: -9
128+
WinAscent to TypoAscender: 345
129+
Ascent to TypoAscender: 345
130+
WinDescent to TypoDescender: -9
131+
Descent to TypoDescender: -9
128132
129133
--- Ratios ---
130134
(Typo Asc + Desc + Linegap) / UPM: 1.2
131-
(winAsc + winDesc) / UPM: 1.16
132-
(hhea Asc + Desc) / UPM: 1.16
135+
(winAsc + winDesc) / UPM: 1.16
136+
(hhea Asc + Desc) / UPM: 1.16
133137
```
134138

135139
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

Comments
 (0)