X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/675221b52b08ff40fa91f38fe2eae05a4ef155bc..5e2f32d08b77d469b7f190f40dde1e4ca9cd1af3:/tools/mkttfinfo diff --git a/tools/mkttfinfo b/tools/mkttfinfo index c80f5fc..9102726 100755 --- a/tools/mkttfinfo +++ b/tools/mkttfinfo @@ -9,14 +9,14 @@ use Getopt::Long; our $VERSION = '1.00'; -GetOptions(my %opt, +GetOptions(\my %opt, 'verbose|v!', ); my ($ttfuri, $outfile) = @ARGV; $ttfuri or die "usage error\n"; -my $fontinc = $ENV{FONTINC} // '~/.fonts,/usr/share/fonts/truetype/*'; +my $fontinc = $ENV{FONTINC} // 'data/font,~/.fonts,/usr/share/fonts/truetype/*'; if (!-e $ttfuri) { my $found = (grep {-e} glob "{$fontinc}/$ttfuri")[0] or do { warn "font not found: $ttfuri\n";