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

Jindrich Makovicka makovick at KMLinux.fjfi.cvut.cz
Sun Aug 25 10:29:20 CEST 2002


On Sat, Aug 24, 2002 at 11:00:35PM +0200, Arpi wrote:
> Hi,
> 
> > On Sat, Aug 24, 2002 at 11:08:00AM +0200, Arpi wrote:
> > > Hi,
> > > 
> > > > currently the font is loaded in vf_vo, but there is no problem in changing
> > > > that because this is just about moving one line to another place.
> > > 
> > > it's not a good idea, as vf_vo is not used in mencoder but the font is needed
> > > 
> > 
> > I already moved it to sub.c and it seems to work good for both mplayer and
> > mencoder. Here are the changes.
> 
> it still don't work with freetype 2.0
> ye si know i should upgrade it, but since xfree 4.2.0 includes freetype 2.0
> imho users also have 2.0 not 2.1
> anyway teh only difference between 2.1 and 2.0 seems to be that 2.1 has
> the get first/next char functions. but i doubt they are really required, at
> least subfont-c works with my freetype 2.0 too.

ok, can have a look, however main advantage of these functions is that you
don't have to specify which glyphs you want to render, unlike with subfont-c.

> 
> anywya i've just applied your patches and it's still sig11ing for me (with
> ft 2.0, the unicode routine using first/netxchat removed)

> 
> without having a sub font but having osd.pfb it doesn't display any osd
> symbols. imho it should. we will supply osd font with mplayer but no ttf.
> 
> anyway ttf support imho should not be enabled by default, or the old method
> should not be disabled then (because it will make it nonworking for users
> having the old-style fonts and freetype installed on their machine - they
> will complain at -users about broken osd/sub instead of rtfm-ing that they
> need ttf or --disbale-ft...)
> 

I'll have a look at the above

> 
> A'rpi / Astral & ESP-team
> 
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng

-- 
Jindrich Makovicka



More information about the MPlayer-dev-eng mailing list