ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/images/genfont
Revision: 1.3
Committed: Fri May 30 11:05:11 2003 UTC (21 years ago) by pcg
Branch: MAIN
Changes since 1.2: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.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 pcg 1.3 -antialias -pointsize 40 -fill $colour -draw "text 0,100 '$chr'" \
10 pcg 1.1 -crop 0x0 \
11     x.png
12     pngcrush -allb x.png font/$chr-$colour.png
13     rm x.png
14     done
15     done
16