view TOOLS/subfont-c/runme @ 2947:987c77cbb4de

last part of changes since around configure 230 applied (lirc in autodetect, VO2 support) blocks sorted for ao/vo (video/video+audio/audio)
author pl
date Sat, 17 Nov 2001 11:26:26 +0000
parents 8ccac62ddfb7
children ffcac0e6a5f4
line wrap: on
line source

#!/bin/bash

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

make || exit

./subfont $unicode --blur $blur --outline $outline "$encoding" $fontsize "$font" || exit
./subfont --append --blur $blur --outline $outline encodings/osd-mplayer $symbolssize osd/osd.pfb || exit

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

exit

# display *.raw files
SIZE=`awk '/bitmap size:/ {print $NF; exit}' font.desc`+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