#!/bin/bash # simple script to replace old runes by higher quality graphics (schmorp@schmorp.de) # this is put into the public domain ( while read file text color font; do font=$(fc-list "$font" file | tail -1 | sed -e 's/..$//') convert -size 32x32 xc:none \ -font "$font" -pointsize 32 -fill "$color" -gravity center -draw "text 0,0 \"$text\"" "$file" pngx "$file" >/dev/null done ) <