Package Exports
- ttf2eot
- ttf2eot/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ttf2eot) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ttf2eot
ttf2eot converts TTF fonts to EOT format. That can be useful for different webfont generation tools.
This is node.js port of ttf2eot.
Usage
Install:
npm install -g ttf2eot
Usage example:
ttf2eot fontello.ttf fontello.eot
Or:
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. Released under the MIT license. See LICENSE for details.