ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/images/genfont
Revision: 1.5
Committed: Mon Jun 23 12:47:08 2003 UTC (20 years, 10 months ago) by pcg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
State: FILE REMOVED
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/bin/sh
2
3 font=/usr/X11R6/share/fonts/microsoft/arialb.ttf
4
5 for colour in white black; do
6 for chr in A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \
7 0 1 2 3 4 5 6 7 8 9; do
8 convert -size 100x100 xc:black -transparent black -font $font \
9 -antialias -pointsize 40 -fill $colour -draw "text 0,100 '$chr'" \
10 -crop 0x0 -bordercolor transparent -border 1x1 \
11 x.png
12 pngcrush -allb x.png font/$chr-$colour.png
13 rm x.png
14 done
15 done
16