[test] Make record_test understand cmdline args to hb-shape

This commit is contained in:
Behdad Esfahbod 2014-07-17 15:27:46 -04:00
parent 7cd33f2304
commit d21e997035
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@
dir=`mktemp --directory`
hb_shape=$1
fontfile=$2
shift
fontfile=$1
shift
hb_shape="$hb_shape $@"
unicodes=`./hb-unicode-decode`
text=`./hb-unicode-encode "$unicodes"`
glyphs=`echo "$text" | $hb_shape "$fontfile"`