Slab for Greek and Cyrillic.
This commit is contained in:
parent
89323a5ddb
commit
bfdba9593b
9 changed files with 163 additions and 76 deletions
|
@ -9,11 +9,6 @@ var parametersData = toml.parse(fs.readFileSync(path.join(path.dirname(require.m
|
|||
var emptyFont = toml.parse(fs.readFileSync(path.join(path.dirname(require.main.filename), 'emptyfont.toml'), 'utf-8'));
|
||||
var para = parameters.build(parametersData, argv._);
|
||||
|
||||
console.log(argv._ + ' : Start Building.');
|
||||
var ttfFont = buildGlyphs.build.call(emptyFont, para);
|
||||
console.log(argv._ + ' : Building Complete.');
|
||||
|
||||
if(argv.o) fs.writeFile(argv.o, JSON.stringify(ttfFont), function(err){
|
||||
if(err) throw err;
|
||||
console.log(argv.o + ' : File Saved.');
|
||||
});
|
||||
if(argv.o) fs.writeFileSync(argv.o, JSON.stringify(ttfFont));
|
Loading…
Add table
Add a link
Reference in a new issue