mirror of
https://github.com/ecomfe/fontmin.git
synced 2026-02-01 15:46:05 +00:00
typo
This commit is contained in:
commit
0f2075d8d3
@ -162,8 +162,8 @@ var Fontmin = require('fontmin');
|
||||
|
||||
var fontmin = new Fontmin()
|
||||
.use(Fontmin.css({
|
||||
glyf: true, // generate class for each glyf. default = false
|
||||
iconPrefix: 'my-icon', // class prefix, only work when glyf is `true`. default to "icon"
|
||||
glyph: true, // generate class for each glyph. default = false
|
||||
iconPrefix: 'my-icon', // class prefix, only work when glyph is `true`. default to "icon"
|
||||
fontFamily: 'myfont' // custom fontFamily, default to filename or get from analysed ttf file
|
||||
}));
|
||||
```
|
||||
|
||||
7
cli.js
7
cli.js
@ -53,7 +53,8 @@ var cli = meow({
|
||||
t: 'text',
|
||||
b: 'basic-text',
|
||||
d: 'deflate-woff',
|
||||
T: 'show-time'
|
||||
T: 'show-time',
|
||||
h: 'help'
|
||||
}
|
||||
});
|
||||
|
||||
@ -121,7 +122,9 @@ if (process.stdin.isTTY) {
|
||||
'Example',
|
||||
' fontmin font/* build',
|
||||
' fontmin foo.ttf > foo-optimized.ttf',
|
||||
' cat foo.ttf | fontmin > foo-optimized.ttf'
|
||||
' cat foo.ttf | fontmin > foo-optimized.ttf',
|
||||
'',
|
||||
'See `fontmin --help` for more information.'
|
||||
].join('\n'));
|
||||
|
||||
process.exit(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user