[FFmpeg-devel] [PATCH] lavfi test pattern generator
Fri Jan 2 19:08:19 CET 2009
On Fri, Jan 02, 2009 at 06:53:02PM +0100, Nicolas George wrote:
> Le tridi 13 niv?se, an CCXVII, Michael Niedermayer a ?crit?:
> > try grep in something prior to r22857 because diego deleted them in that
> > revission.
> > I dont remember why they where deleted ...
> As far as I remember, because this was considered obsolete compared to using
> vectorial fonts through FreeType. I think this makes sense: anyone,
> nowadays, has lots of TrueType and OpenTYpe fonts on his hard drive, while
> these bitmaps fonts had to be installed specifically for mplayer.
> Furthermore, using FreeType not much work; I count about 60 lines of code
> for the font rendering in my old fcbanner program:
Interrested to write a simple FreeType based AVSubtitle renderer?
(after we decided how to exactly export char* in it of course ...)
> loading a custom bitmap
> format would require almost as much.
One old idea i had but never implemented was to build these bitmaps with
a raytracer from some font and a pretty texture, surely would beat the
crap out of FreeType :)
One could even go as far as make them trasparent and store the x,y
coordinates for each pixel from where the refracted light comes from.
Glass subtitles with accurate refraction and fast and simple too at runtime
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel