Mercurial > mplayer.hg
diff TOOLS/subfont-c/runme @ 1505:842c29861e25
upgraded to 1.0b version by Artur Zaprzala <artur.zaprzala@talex.com.pl>
author | arpi |
---|---|
date | Mon, 13 Aug 2001 18:37:10 +0000 |
parents | |
children | 39119eb74363 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TOOLS/subfont-c/runme Mon Aug 13 18:37:10 2001 +0000 @@ -0,0 +1,24 @@ +#!/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 || exit +cat log +./subfont --append --blur $blur --outline $outline encodings/osd-mplayer $symbolssize osd/osd.pfb + +#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