Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1504:f4f686aed404 | 1505:842c29861e25 |
---|---|
1 #!/bin/bash | |
2 | |
3 font=arial.ttf | |
4 encoding=iso-8859-2 | |
5 fontsize=24 | |
6 symbolssize=35 | |
7 blur=2 | |
8 outline=1.5 | |
9 | |
10 make || exit | |
11 | |
12 ./subfont --blur $blur --outline $outline "$encoding" $fontsize "$font" &>log || exit | |
13 cat log | |
14 ./subfont --append --blur $blur --outline $outline encodings/osd-mplayer $symbolssize osd/osd.pfb | |
15 | |
16 #cp font.desc *.raw ~/.mplayer/font/ | |
17 | |
18 exit | |
19 | |
20 SIZE=`awk '/^bitmap size/ {print $NF}' log`+800 | |
21 display -size $SIZE gray:$encoding-a.raw & | |
22 display -size $SIZE gray:$encoding-b.raw & | |
23 #convert -size $SIZE gray:$encoding-a.raw $encoding-a.png | |
24 #convert -size $SIZE gray:$encoding-b.raw $encoding-b.png |