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

Arpi arpi at thot.banki.hu
Sat Aug 24 23:00:35 CEST 2002


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.

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...)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list