Skip to content

Commit

Permalink
Script to generate sample 'kakko' text. #13
Browse files Browse the repository at this point in the history
  • Loading branch information
samyakbhuta committed Dec 3, 2013
1 parent e58b363 commit 80de745
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Binary file added samples/kakko/AakarSampleText_Kakko_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/kakko/AakarSampleText_Kakko_100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/kakko/AakarSampleText_Kakko_50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions samples/kakko/generate-sample-kakko.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

sampleText="ૐ અ આ ઇ ઈ ઉ ઊ ઋ ૠ ઍ એ ઐ ઑ ઓ ઔ કઁ કં કઃ ક઼ કઽ કા કિ કી કુ કૂ કૃ કૄ કૅ કે કૈ કૉ કો કૌ ક્ ૧ ૨ ૩ ૪ ૫ ૬ ૭ ૮ ૯ ૦ ક ખ ગ ઘ ઙ ચ છ જ ઝ ઞ ટ ઠ ડ ઢ ણ ત થ દ ધ ન પ ફ બ ભ મ ય ર લ ળ વ શ ષ સ હ ક્ષ ત્ર જ્ઞ શ્ર ૧ ૨ ૩ ૪ ૫ ૬ ૭ ૮ ૯ ૦ ૱"

echo $sampleText | \convert -background none -pointsize 10 -font ../../aakar-medium.ttf text: -trim AakarSampleText_Kakko_10.png
echo $sampleText | \convert -background none -pointsize 50 -font ../../aakar-medium.ttf text: -trim AakarSampleText_Kakko_50.png
echo $sampleText | \convert -background none -pointsize 100 -font ../../aakar-medium.ttf text: -trim AakarSampleText_Kakko_100.png

0 comments on commit 80de745

Please sign in to comment.