[MPlayer-dev-eng] [PATCH] dynamic font generation

Felix Buenemann atmosfear at users.sourceforge.net
Thu Aug 15 17:56:35 CEST 2002


On Wednesday 14 August 2002 21:07, Arpi wrote:
> Hi,
>
> > > this is a first approximation of $subj, basically a port of subfont.c
> > > into the bowels of mplayer. Seems to work quite well, only the gaussian
> > > blur and outline probably need some MMX optimizations. The patch
> >
> > the swscaler can do gaussian blur ...
> > the outline seems to be some weighted max (if i understand it correctly),
> > this should be easy too, but is all of that really that speed critical?
> > isnt it done just once at startup?
>
> yes, it is at startup or at font change only
> anyway we could even cache the generated bitmaps and save for later re-use
> anyway generating a 24pt latin-2 charset took around 0.1s for me :)
yea, but think of chinese etc. they have very large fontsets with few thousand 
chars, it's where it matters.

>
> A'rpi / Astral & ESP-team

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list