Mercurial > mplayer.hg
view TOOLS/subfont-c/runme @ 10576:e4cdc9ca94c5
Changed all printf into mp_msg
Removed extern int verbose
Removed some unneeded includes
Removed swscale, because this should be done by vf layer instead
Removed weird video_out_png definition
There is no more flip, zoom, or geometry support, so I removed those.
Slices, stride support for all supported CSP.
Replaced draw_frame with a stub.
Removed: do { ... } while (0)
Removed unused dstFourcc.
Added DR support
Removed USE_CONVERT2FB, since we have real DR now
Simplified some color depth checks
author | joey |
---|---|
date | Tue, 12 Aug 2003 06:57:19 +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