Artifact 76b85ac3fe00d01d1dc0ee9c4a3118d5b9742f3c:
- Executable file keyicons/make.sh — part of check-in [d01ca44575] at 2021-01-05 06:39:15 on branch trunk — Add the rest of the key code icons (user: user, size: 445) [annotate] [blame] [check-ins using]
#!/bin/bash -- cd keyicons #for X in `seq 48 57` `seq 65 90`; do # pngff < charset.png | ff-text 16 16 `dc -e $X"P"` | ffxbm X > $X.xbm #done sed 's/^ //' <<"EOF" > ../keyicons.xbm #define keyicons_width 16 #define keyicons_height 4096 static unsigned char keyicons_bits[] = { EOF for X in `seq 0 255`; do test -f $X.xbm X=`dc -e "1 $? - $X *p"` sed -n 's/};/,/;/^ /p' < $X.xbm >> ../keyicons.xbm done echo '};' >> ../keyicons.xbm