|
|
|
@ -37,7 +37,6 @@ my $opt = {
|
|
|
|
|
-fontfixname => '@l_prefix@/bin/font-fixname', |
|
|
|
|
-fontmodname => '@l_prefix@/bin/font-modify-names', |
|
|
|
|
-ttf2eot => '@l_prefix@/bin/ttf2eot', |
|
|
|
|
-ttf2woff => '@l_prefix@/bin/ttf2woff', |
|
|
|
|
-ttfautohint => '@l_prefix@/bin/ttfautohint', |
|
|
|
|
-woff2compress => '@l_prefix@/bin/woff2_compress', |
|
|
|
|
-gzip => '@l_prefix@/bin/gzip' |
|
|
|
@ -70,7 +69,6 @@ $p->getoptions(
|
|
|
|
|
"fontfixname=s" => \$opt->{-fontfixname}, |
|
|
|
|
"fontmodname=s" => \$opt->{-fontmodname}, |
|
|
|
|
"ttf2eot=s" => \$opt->{-ttf2eot}, |
|
|
|
|
"ttf2woff=s" => \$opt->{-ttf2woff}, |
|
|
|
|
"ttfautohint=s" => \$opt->{-ttfautohint}, |
|
|
|
|
"woff2compress=s" => \$opt->{-woff2compress}, |
|
|
|
|
"gzip=s" => \$opt->{-gzip} |
|
|
|
@ -208,7 +206,6 @@ if ($formats->{-woff}) {
|
|
|
|
|
verbose("generating WOFF format"); |
|
|
|
|
$woff = outfile($file, "woff"); |
|
|
|
|
run("$opt->{-fontforge} -c 'Open(\$1);Generate(\$2);Close()' $ttf $woff 2>/dev/null"); |
|
|
|
|
run("$opt->{-ttf2woff} -i -O -t woff $woff 2>/dev/null"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# convert into WOFF2 |
|
|
|
|