… | |
… | |
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 ⁎ light_blue Everson Mono Unicode |
15 | rune_sp_res.base.111.png ⁑ green Everson Mono Unicode |
15 | rune_sp_res.base.111.png ⁑ green Everson Mono Unicode |
16 | drain_magic.base.111.png ⁑ gray70 Everson Mono Unicode |
16 | drain_magic.base.111.png ⁑ gray70 Everson Mono Unicode |
17 | rune_transfer.base.111.png ⁑ gray70 Everson Mono Unicode |
17 | rune_transfer.base.111.png ⁑ gray70 Everson Mono Unicode |
18 | rune_frost.base.111.png ⁎ lightblue Everson Mono Unicode |
18 | rune_frost.base.111.png ⁎ light_blue Everson Mono Unicode |
19 | rune_summon_air.base.111.png あ white Kochi Mincho |
19 | rune_summon_air.base.111.png あ white Kochi Mincho |
20 | rune_summon.base.111.png あ black Kochi Mincho |
20 | rune_summon.base.111.png あ black Kochi Mincho |
21 | rune_sum_water.base.111.png あ blue Kochi Mincho |
21 | rune_sum_water.base.111.png あ blue Kochi Mincho |
22 | rune_sum_fire.base.111.png あ red Kochi Mincho |
22 | rune_sum_fire.base.111.png あ red Kochi Mincho |
23 | rune_sum_earth.base.111.png あ brown Kochi Mincho |
23 | rune_sum_earth.base.111.png あ brown Kochi Mincho |