Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 99f6a79

Browse files
committed
Docs update for #53
1 parent 52001a2 commit 99f6a79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,14 @@ Subsetting LatoLatin-Regular.ttf to LatoLatin-Regular-subset.woff2 (was 145.06 K
129129

130130
#### Output a @font-face block with `--css`
131131

132-
Because we’re not parsing URLs for glyphs, we can optionally use `--family='My Family Name'` to set the name used in the `@font-face` block. Normally `--family` would tell GlyphHanger to only parse text data from nodes using one of the fonts listed in `--family`.
132+
Because we’re not parsing URLs for glyphs, we can optionally use `--family='My Family Name'` to set the name used in the `@font-face` block. Normally `--family` would tell GlyphHanger to only parse text data from nodes using one of the fonts listed in `--family`. Using `--subset` and `--css` together will write a CSS file, too.
133133

134134
```sh
135135
> glyphhanger --whitelist=ABCD --formats=woff2,woff --subset=*.ttf --css
136136

137137
Subsetting LatoLatin-Regular.ttf to LatoLatin-Regular-subset.woff (was 145.06 KB, now 2.88 KB)
138138
Subsetting LatoLatin-Regular.ttf to LatoLatin-Regular-subset.woff2 (was 145.06 KB, now 2.24 KB)
139+
Writing CSS file: LatoLatin-Regular.css
139140

140141
@font-face {
141142
font-family: LatoLatin;

0 commit comments

Comments
 (0)