Home | History | Annotate | Download | only in shaping

Lines Matching refs:subset

19 if ! test -s "$dir/font.ttf.subset"; then
20 echo "Subsetter didn't produce nonempty subset font in $dir/font.ttf.subset" >&2
24 # Verify that subset font produces same glyphs!
25 glyphs_subset=`echo "$text" | $hb_shape "$dir/font.ttf.subset"`
28 echo "Subset font produced different glyphs!" >&2
32 echo "$text" | $hb_view "$dir/font.ttf.subset" --output-format=png --output-file="$dir/subset.png"
33 if ! cmp "$dir/orig.png" "$dir/subset.png"; then
41 rm -f "$dir/subset.png"
45 sha1sum=`sha1sum "$dir/font.ttf.subset" | cut -d' ' -f1`
46 subset="fonts/sha1sum/$sha1sum.ttf"
47 mv "$dir/font.ttf.subset" "$subset"
49 echo "$subset:$unicodes:$glyphs"