ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/images/genfont
(Generate patch)

Comparing kgsueme/images/genfont (file contents):
Revision 1.3 by pcg, Fri May 30 11:05:11 2003 UTC vs.
Revision 1.4 by pcg, Fri May 30 11:39:57 2003 UTC

5for colour in white black; do 5for 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 \ 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 7 0 1 2 3 4 5 6 7 8 9; do
8 convert -size 100x100 xc:black -transparent black -font $font \ 8 convert -size 100x100 xc:black -transparent black -font $font \
9 -antialias -pointsize 40 -fill $colour -draw "text 0,100 '$chr'" \ 9 -antialias -pointsize 40 -fill $colour -draw "text 0,100 '$chr'" \
10 -crop 0x0 \ 10 -crop 0x0 -bordercolor transparent -border 1x1 \
11 x.png 11 x.png
12 pngcrush -allb x.png font/$chr-$colour.png 12 pngcrush -allb x.png font/$chr-$colour.png
13 rm x.png 13 rm x.png
14 done 14 done
15done 15done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines