summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2016-09-06 14:47:52 -0700
committerBehdad Esfahbod <behdad@behdad.org>2016-09-06 14:47:52 -0700
commitec0fc9f6b84cc1a25bd85ea79bef615df65d44c6 (patch)
tree72b28ebfab1a68af61c59614b75ee05457302545
parent0438cb2a27fbe060c79e59bc83ed4a3205d4007f (diff)
.
-rwxr-xr-xopentype-gx/samples/random-instance-demo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/opentype-gx/samples/random-instance-demo.sh b/opentype-gx/samples/random-instance-demo.sh
index ca1a2c4..dc7931e 100755
--- a/opentype-gx/samples/random-instance-demo.sh
+++ b/opentype-gx/samples/random-instance-demo.sh
@@ -6,7 +6,7 @@ if test $# -lt 2; then
fi
font=$1
outfont=${font%.ttf}-instance.ttf
-outpng=${outfont%.ttf}.png
+outimg=${outfont%.ttf}.svg
text=$2
python list-axes.py $font |
@@ -15,6 +15,6 @@ while read tag min default max; do
echo "$tag=$rnd"
done | tee | (
xargs python varLib/mutator.py "$font" &&
- hb-view "$outfont" "$text" --font-size 800 > "$outpng" &&
- (display "$outpng" &)
+ hb-view "$outfont" "$text" --font-size 300 --output-file "$outimg" &&
+ (display "$outimg" &)
)