You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
911 B
55 lines
911 B
2 years ago
|
ttf2eot
|
||
|
=======
|
||
|
|
||
|
ttf2eot converts TTF fonts to EOT format. That can be useful for different
|
||
|
webfont generation tools.
|
||
|
|
||
|
This is node.js port of [ttf2eot](http://code.google.com/p/ttf2eot/).
|
||
|
|
||
|
|
||
|
Usage
|
||
|
-----
|
||
|
|
||
|
Install:
|
||
|
|
||
|
``` bash
|
||
|
npm install -g ttf2eot
|
||
|
```
|
||
|
|
||
|
Usage example:
|
||
|
|
||
|
``` bash
|
||
|
ttf2eot fontello.ttf fontello.eot
|
||
|
```
|
||
|
|
||
|
Or:
|
||
|
|
||
|
``` bash
|
||
|
ttf2eot < fontello.ttf > fontello.eot
|
||
|
```
|
||
|
|
||
|
|
||
|
Possible problems
|
||
|
-----------------
|
||
|
|
||
|
Due to bug in IE, font `FullName` __MUST__ begin with `FamilyName`. For example,
|
||
|
if `FamilyName` is `fontello`, then `FullName` should be `fontello regular` and
|
||
|
so on.
|
||
|
|
||
|
In this condition is not satisfyed, then font will not be shown in IE.
|
||
|
|
||
|
|
||
|
Authors
|
||
|
-------
|
||
|
|
||
|
* Viktor Semykin <thesame.ml@gmail.com>
|
||
|
|
||
|
|
||
|
License
|
||
|
-------
|
||
|
|
||
|
Copyright (c) 2013-2016 [Vitaly Puzrin](https://github.com/puzrin).
|
||
|
Released under the MIT license. See
|
||
|
[LICENSE](https://github.com/nodeca/ttf2eot/blob/master/LICENSE) for details.
|
||
|
|