Mercurial > mplayer.hg
comparison TOOLS/subfont-c/runme @ 1675:8ccac62ddfb7
Added --unicode switch. This is for UTF-8 encoded subtitles.
author | zybi |
---|---|
date | Fri, 24 Aug 2001 08:55:00 +0000 |
parents | 7336606415f2 |
children | ffcac0e6a5f4 |
comparison
equal
deleted
inserted
replaced
1674:dab7950fe1c3 | 1675:8ccac62ddfb7 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 #unicode="--unicode" | |
3 font=arial.ttf | 4 font=arial.ttf |
4 #font=verdana.ttf | 5 #font=verdana.ttf |
5 encoding=iso-8859-2 | 6 encoding=iso-8859-2 |
6 fontsize=24 | 7 fontsize=24 |
7 symbolssize=35 | 8 symbolssize=35 |
8 blur=2 | 9 blur=2 |
9 outline=1.5 | 10 outline=1.5 |
10 | 11 |
11 make || exit | 12 make || exit |
12 | 13 |
13 ./subfont --blur $blur --outline $outline "$encoding" $fontsize "$font" || exit | 14 ./subfont $unicode --blur $blur --outline $outline "$encoding" $fontsize "$font" || exit |
14 ./subfont --append --blur $blur --outline $outline encodings/osd-mplayer $symbolssize osd/osd.pfb || exit | 15 ./subfont --append --blur $blur --outline $outline encodings/osd-mplayer $symbolssize osd/osd.pfb || exit |
15 | 16 |
16 #cp font.desc *.raw ~/.mplayer/font/ | 17 #cp font.desc *.raw ~/.mplayer/font/ |
17 | 18 |
18 exit | 19 exit |