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

Jindrich Makovicka makovick at KMLinux.fjfi.cvut.cz
Sun Aug 25 14:52:49 CEST 2002


Hi,
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.

fixed, but you currently can't use unicode with ft 2.0

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

maybe fixed, but unless you send me the line where it crashed, I cannot be
sure. sorry for the trouble but I wouldn't send this code if I didn't use it
about a week without problems :)

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

fixed, and osd font is now embedded in the binary

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

fixed in configure

-- 
Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetype8.diff.bz2
Type: application/octet-stream
Size: 19370 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020825/d1e4921c/attachment.obj>


More information about the MPlayer-dev-eng mailing list