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

Jindrich Makovicka makovick at KMLinux.fjfi.cvut.cz
Fri Aug 23 18:13:12 CEST 2002


On Thu, Aug 22, 2002 at 11:22:39PM +0200, Arpi wrote:
> Hi,
> 
> > Will this suffice ?
> > 
> 
> In file included from mplayer.c:39:
> libvo/font_load.h:87: conflicting types for ender_one_glyph'
> libvo/font_load.h:83: previous declaration of ender_one_glyph'
> mplayer.c: In function 
> ain':
> mplayer.c:1295: warning: assignment makes pointer from integer without a
> cast
> mplayer.c:1296: warning: assignment makes pointer from integer without a
> cast
> make: *** [mplayer.o] Error 1
> 
> anyway i've removed the unicode charset preparefunction from your previous
> patch, so it compiled but i got no subtitles.
> then i copied the osd font to ~/.mplayer as teh error message said, so from
> that point i got sig11 as soon as osd 'wanted' to display sth...
> 
> i doubt this patch is ready for cvs :(

agree, I found this mess in the function prototypes too, one of them
should be a dummy for kerning() instead of render_one_glyph().

I found yet one issue. Currently, the width&height which control the scaling
are taken from sh_video, but these are the source dimensions. I looked where
to get the dimensions after the aplication of the filters and didn't find an
easy way to do this, maybe putting the font initialization to
vf_vo.c/config() ?

> 
> and yes i know i it isn't an usable bugreport... i'll track down and fix the
> bugs at the weekend.
> 
> 
> 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