summaryrefslogtreecommitdiff
path: root/scripts/render.sh
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2014-07-01 15:35:01 -0700
committerRoozbeh Pournader <roozbeh@google.com>2014-07-01 15:35:01 -0700
commit357a0468c78700842988dedbfda0824b9332fb73 (patch)
treed4207150326e57821499bc5b10f6c71d3e54bd6c /scripts/render.sh
parentaf88e25dbd38ad930ea1b46670c0ce147a02a3d4 (diff)
Various cleanups needed for Android.
Diffstat (limited to 'scripts/render.sh')
-rwxr-xr-xscripts/render.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/render.sh b/scripts/render.sh
new file mode 100755
index 0000000..703c21f
--- /dev/null
+++ b/scripts/render.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+HARFBUZZ=$HOME/harfbuzz
+
+function render {
+ echo weT͟Hər | $HARFBUZZ/util/hb-view --font-file=$1 --output-format=png --output-file=$2.png
+}
+
+render ../out/RobotoTTF/Roboto-Regular.ttf original
+render Roboto-Regular.ttf modified
+
+eog *.png
+