… | |
… | |
4 | # this is put into the public domain |
4 | # this is put into the public domain |
5 | |
5 | |
6 | ( |
6 | ( |
7 | while read file text color font; do |
7 | while read file text color font; do |
8 | font=$(fc-list "$font" file | tail -1 | sed -e 's/..$//') |
8 | font=$(fc-list "$font" file | tail -1 | sed -e 's/..$//') |
9 | convert -size 32x32 xc:none \ |
9 | convert -size 32x32 xc:none -set hinting on \ |
10 | -font "$font" -pointsize 32 -fill "$color" -gravity center -draw "text 0,0 \"$text\"" "$file" |
10 | -font "$font" -pointsize 32 -fill "$color" -gravity center -draw "text 0,0 \"$text\"" "$file" |
11 | pngx "$file" >/dev/null |
11 | pngx "$file" >/dev/null |
12 | done |
12 | done |
13 | ) <<EOF |
13 | ) <<EOF |
14 | rune_frost.base.111.png ⁎ lightblue Everson Mono Unicode |
14 | rune_frost.base.111.png ⁎ lightblue Everson Mono Unicode |
… | |
… | |
35 | rune_antimagic.base.111.png ※ grey40 Kochi Mincho |
35 | rune_antimagic.base.111.png ※ grey40 Kochi Mincho |
36 | glyph.base.111.png 文 orange Kochi Mincho |
36 | glyph.base.111.png 文 orange Kochi Mincho |
37 | generic_rune.base.111.png を black Kochi Mincho |
37 | generic_rune.base.111.png を black Kochi Mincho |
38 | rune_blightning.base.111.png ケ yellow Kochi Mincho |
38 | rune_blightning.base.111.png ケ yellow Kochi Mincho |
39 | EOF |
39 | EOF |
|
|
40 | |