3 # Author Євгеній Мещеряков <eugen@debian.org>
4 # This file is in public domain
10 echo "Usage: $0 <new directory> <old directory>"
16 tmp_dir
=`mktemp -dt gensamples.XXXXXXXXXX`
18 for file in $new_dir/*.ttf
20 base_name
=`basename $file .ttf`
21 fntsample
-f $file -o $tmp_dir/$base_name.pdf
-d $old_dir/$base_name.ttf
-l > $tmp_dir/$base_name.txt
22 pdfoutline
$tmp_dir/$base_name.pdf
$tmp_dir/$base_name.txt
$base_name.pdf