diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2015-04-23 10:49:01 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2015-04-23 10:49:01 -0700 |
commit | 3bf2e72a20942bed91a62b58f8329502cee69f78 (patch) | |
tree | f2fc05e3039545309b8f8b072e2b75b7d168a419 | |
parent | 141f74faae07cc9c4b015a70a68a30d17b8bb7cf (diff) | |
parent | fb5341f8b2a67d51bbaa1b19277ccfbb88bb0d39 (diff) |
Merge pull request #12 from google/samples
Adding various samples texts and updating the render script to be able to take them.
-rw-r--r-- | samples/contour-tones.txt | 2 | ||||
-rw-r--r-- | samples/gbar-parenoverlay.txt | 1 | ||||
-rw-r--r-- | samples/i-ogonek-acute.txt | 1 | ||||
-rw-r--r-- | samples/kayah-li-cwi.txt | 1 | ||||
-rw-r--r-- | samples/lari-sign.txt | 1 | ||||
-rw-r--r-- | samples/latin-cyrillic-double-o.txt | 1 | ||||
-rw-r--r-- | samples/latin-small-capitals.txt | 1 | ||||
-rw-r--r-- | samples/navajo-letters.txt | 1 | ||||
-rw-r--r-- | samples/parentheses-overlay.txt | 2 | ||||
-rw-r--r-- | samples/question-exclam.txt | 2 | ||||
-rw-r--r-- | samples/smcp-r-rightleg.txt | 1 | ||||
-rw-r--r-- | samples/smcp-turned-m-circumflex-below.txt | 1 | ||||
-rwxr-xr-x | scripts/render.sh | 28 |
13 files changed, 39 insertions, 4 deletions
diff --git a/samples/contour-tones.txt b/samples/contour-tones.txt new file mode 100644 index 0000000..c349e3f --- /dev/null +++ b/samples/contour-tones.txt @@ -0,0 +1,2 @@ +˥˥˦ +˨˩˧ diff --git a/samples/gbar-parenoverlay.txt b/samples/gbar-parenoverlay.txt new file mode 100644 index 0000000..fd0926a --- /dev/null +++ b/samples/gbar-parenoverlay.txt @@ -0,0 +1 @@ + ǥ᪾ diff --git a/samples/i-ogonek-acute.txt b/samples/i-ogonek-acute.txt new file mode 100644 index 0000000..7b3385f --- /dev/null +++ b/samples/i-ogonek-acute.txt @@ -0,0 +1 @@ +Į́ į́ diff --git a/samples/kayah-li-cwi.txt b/samples/kayah-li-cwi.txt new file mode 100644 index 0000000..d4b4bcf --- /dev/null +++ b/samples/kayah-li-cwi.txt @@ -0,0 +1 @@ +thǐ꤮, pwǒ̤꤮, ní꤮ diff --git a/samples/lari-sign.txt b/samples/lari-sign.txt new file mode 100644 index 0000000..7e882b4 --- /dev/null +++ b/samples/lari-sign.txt @@ -0,0 +1 @@ +149.00₾ diff --git a/samples/latin-cyrillic-double-o.txt b/samples/latin-cyrillic-double-o.txt new file mode 100644 index 0000000..61bdba5 --- /dev/null +++ b/samples/latin-cyrillic-double-o.txt @@ -0,0 +1 @@ +ОꙨꙬꙩꙭꙮꝎꝏꚘ diff --git a/samples/latin-small-capitals.txt b/samples/latin-small-capitals.txt new file mode 100644 index 0000000..b9bc795 --- /dev/null +++ b/samples/latin-small-capitals.txt @@ -0,0 +1 @@ +ɢɪɴɶʀʁʏʙʛʜʟᴀᴁᴃᴄᴅᴆᴇᴊᴋᴌᴍᴎᴏᴐᴕᴘᴙᴚᴛᴜᴠᴡᴢᴣᵻᵾⱻꜰꜱꝶꟺꭆ diff --git a/samples/navajo-letters.txt b/samples/navajo-letters.txt new file mode 100644 index 0000000..28f1adc --- /dev/null +++ b/samples/navajo-letters.txt @@ -0,0 +1 @@ +ĄąĘęĮįĮ́į́Ǫǫ diff --git a/samples/parentheses-overlay.txt b/samples/parentheses-overlay.txt new file mode 100644 index 0000000..3292394 --- /dev/null +++ b/samples/parentheses-overlay.txt @@ -0,0 +1,2 @@ +ƀ᪾đ᪾ǥ᪾ɫ᪾ŋ᪾ɽ᪾ +dƀ᪾đ᪾bqǥ᪾plɫ᪾lŋ᪾pqɽ᪾p diff --git a/samples/question-exclam.txt b/samples/question-exclam.txt new file mode 100644 index 0000000..553b12f --- /dev/null +++ b/samples/question-exclam.txt @@ -0,0 +1,2 @@ +⁈ = ?! +⁉ = !? diff --git a/samples/smcp-r-rightleg.txt b/samples/smcp-r-rightleg.txt new file mode 100644 index 0000000..dbfe18b --- /dev/null +++ b/samples/smcp-r-rightleg.txt @@ -0,0 +1 @@ +ʀꭆ diff --git a/samples/smcp-turned-m-circumflex-below.txt b/samples/smcp-turned-m-circumflex-below.txt new file mode 100644 index 0000000..f307c66 --- /dev/null +++ b/samples/smcp-turned-m-circumflex-below.txt @@ -0,0 +1 @@ +ꟺ̭ diff --git a/scripts/render.sh b/scripts/render.sh index 96e584d..0b0d63e 100755 --- a/scripts/render.sh +++ b/scripts/render.sh @@ -14,15 +14,35 @@ # See the License for the specific language governing permissions and # limitations under the License. - HARFBUZZ=$HOME/harfbuzz +input_file=$1 + function render { - echo weT͟Hər | $HARFBUZZ/util/hb-view --font-file=$1 --output-format=png --output-file=$2.png + cat $input_file | $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 +render ../hinted/Roboto-Thin.ttf 100 +render ../hinted/Roboto-Light.ttf 300 +render ../hinted/Roboto-Regular.ttf 400 +render ../hinted/Roboto-Medium.ttf 500 +render ../hinted/Roboto-Bold.ttf 700 +render ../hinted/Roboto-Black.ttf 900 + +render ../hinted/Roboto-ThinItalic.ttf i100 +render ../hinted/Roboto-LightItalic.ttf i300 +render ../hinted/Roboto-Italic.ttf i400 +render ../hinted/Roboto-MediumItalic.ttf i500 +render ../hinted/Roboto-BoldItalic.ttf i700 +render ../hinted/Roboto-BlackItalic.ttf i900 + +render ../hinted/RobotoCondensed-Light.ttf c300 +render ../hinted/RobotoCondensed-Regular.ttf c400 +render ../hinted/RobotoCondensed-Bold.ttf c700 + +render ../hinted/RobotoCondensed-LightItalic.ttf ci300 +render ../hinted/RobotoCondensed-Italic.ttf ci400 +render ../hinted/RobotoCondensed-BoldItalic.ttf ci700 eog *.png |