view TOOLS/subfont-c/runme @ 7787:05e518badc1b

doc fixes part 1 (more will come when i find the time to read the rest) if anything is not ok, please let me know documentation.html: * OGG -> OGG/OGM (both file formats are supported) * somewhat better wording (no real change of meaning) * update of the current xf86 version from 4.2.0 to 4.2.1 * mga_vid is not old * partial sync of the options with the manpage (someone with deeper knwoledge should check them and finish the sync) * added 2 links about quoting and correct writing of mails to the mailinglists formats.html: * fixing typo interleaved -> non-interleaved (at least i think it's a typo please someone check it) * non-interleaved AVIs should be played with -ni * OGG -> OGG/OGM
author attila
date Fri, 18 Oct 2002 17:57:05 +0000
parents ffcac0e6a5f4
children
line wrap: on
line source

#!/bin/bash

#unicode="--unicode"
#font=arial.ttf
#font=mints-mild.pcf
#font=/home/alex/artwiz-mints-mild-latin2.hex
font=$1
#font=verdana.ttf
encoding=iso-8859-2
fontsize=$2
symbolssize=$3
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