view TOOLS/subfont-c/runme @ 1589:2bf7e9d41a32

now in german
author folke
date Mon, 20 Aug 2001 00:58:13 +0000
parents 39119eb74363
children 7336606415f2
line wrap: on
line source

#!/bin/bash

font=arial.ttf
encoding=iso-8859-2
fontsize=24
symbolssize=35
blur=2
outline=1.5

make || exit

./subfont --blur $blur --outline $outline "$encoding" $fontsize "$font" &>log
status=$?
cat log
[ $status == 0 ] || exit

./subfont --append --blur $blur --outline $outline encodings/osd-mplayer $symbolssize osd/osd.pfb || exit

#cp font.desc *.raw ~/.mplayer/font/

exit

SIZE=`awk '/^bitmap size/ {print $NF}' log`+800
display -size $SIZE gray:$encoding-a.raw &
display -size $SIZE gray:$encoding-b.raw &
#convert -size $SIZE gray:$encoding-a.raw $encoding-a.png
#convert -size $SIZE gray:$encoding-b.raw $encoding-b.png