[test] Make record_test understand cmdline args to hb-shape
This commit is contained in:
parent
7cd33f2304
commit
d21e997035
|
@ -3,7 +3,10 @@
|
||||||
dir=`mktemp --directory`
|
dir=`mktemp --directory`
|
||||||
|
|
||||||
hb_shape=$1
|
hb_shape=$1
|
||||||
fontfile=$2
|
shift
|
||||||
|
fontfile=$1
|
||||||
|
shift
|
||||||
|
hb_shape="$hb_shape $@"
|
||||||
unicodes=`./hb-unicode-decode`
|
unicodes=`./hb-unicode-decode`
|
||||||
text=`./hb-unicode-encode "$unicodes"`
|
text=`./hb-unicode-encode "$unicodes"`
|
||||||
glyphs=`echo "$text" | $hb_shape "$fontfile"`
|
glyphs=`echo "$text" | $hb_shape "$fontfile"`
|
||||||
|
|
Loading…
Reference in New Issue