Revision: | 1.2 |
Committed: | Fri May 30 10:40:22 2003 UTC (21 years ago) by pcg |
Branch: | MAIN |
Changes since 1.1: | +1 -1 lines |
Log Message: | *** empty log message *** |
# | 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.2 | +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 |