Browse Source

remove ttf2woff(1) as it seems unnecessary today and segfaults

master
parent
commit
177aa769ac
  1. 3
      fontface/fontface.pl
  2. 6
      fontface/fontface.spec

3
fontface/fontface.pl

@ -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

6
fontface/fontface.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: EVAL
Group: Typesetting
License: GPL
Version: 20160703
Release: 20160703
Version: 20191231
Release: 20191231
# list of sources
Source0: fontface.pl
@ -46,7 +46,7 @@ BuildPreReq: OpenPKG, openpkg >= 20160101
PreReq: OpenPKG, openpkg >= 20160101
BuildPreReq: perl
PreReq: perl, perl-sys
PreReq: fontforge, font-optimizer, ttf2eot, ttf2woff, ttfautohint, gzip, woff
PreReq: fontforge, font-optimizer, ttf2eot, ttfautohint, gzip, woff
%description
This is Ralf S. Engelschall's toolkit for preparation of OTF/TTF

Loading…
Cancel
Save