This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if( argv.subset ) {
61
61
// glyphhanger --subset=*.ttf --US_ASCII (reduce to US_ASCII characters)
62
62
// glyphhanger --subset=*.ttf --US_ASCII --whitelist=ABCD (reduce to US_ASCII union with whitelist)
63
63
// glyphhanger --family='My Serif' (outputs results for specific family)
64
- // glyphhanger --family='My Serif' -css (outputs results for specific family with a font-face block)
64
+ // glyphhanger --family='My Serif' -- css (outputs results for specific family with a font-face block)
65
65
// glyphhanger --subset=*.ttf --family='My Serif' (subset group of fonts to results for specific family)
66
66
// glyphhanger --subset=*.ttf --family='My Serif' -css (subset group of fonts to results for specific family and a font-face block)
67
67
// glyphhanger --subset=*.ttf --output=dist/ (change the output directory for subset files)
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ${content.join("\n")}
70
70
}
71
71
72
72
writeCSSFiles ( ) {
73
- if ( ! this . subset ) {
73
+ if ( ! this . subset || ! this . cssOutput ) {
74
74
return ;
75
75
}
76
76
You can’t perform that action at this time.
0 commit comments