yhchen / TTFWordExtractionTools

Auto extration part of words from TTF, and make ttf file smaller.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTFWordExtractionTools

Auto extration part of words from TTF, and make ttf file smaller.

Dependency

name version
JRE 1.8.x+
NodeJS 6.x+

Usage

Usage: node index.js [options]

        --help, -h
                Displays help information about this script
                'node index.js -h' or 'node index.js --help'

        --version
                Displays version info
                node index.js --version

        --src-ttf, -s
                Origin ttf file to extra
                ${path_relative_to_cwd}/origin.ttf

        --out-ttf, -o
                Output ttf file
                ${path_relative_to_cwd}/out.ttf

        --encoding, -e
                file encode(ascii|utf8|utf16le|ucs2|latin1)
                utf8

        --list-filters, -l
                Input search filters relative to de ${cwd} path. Multi input split with ";". If the path first character is "!" means exclude that path
                src/**/*.txt,!test/**/*

        --file-list, -f
                Input src files. split with ";"
                src/**/*.txt,!test/**/*

About

Auto extration part of words from TTF, and make ttf file smaller.


Languages

Language:TypeScript 100.0%