otfforge
v0.0.2
Published
Convert OpenType font to TrueType
Downloads
4
Maintainers
Readme
otfforge
Convert OpenType font to TrueType format with FontForge.
Requirements
Installation
Install the module as CLI tool
$ [sudo] npm install otfforge
Usage
const { src, dest } = require('gulp');
const otfforge = require('otfforge');
function convertFont(cb) {
src("**/*.otf")
.pipe(otfforge())
.pipe(dest("fonts"));
cb();
}