[MPlayer-cvslog] r23346 - in trunk/libass: ass_font.c ass_mp.c ass_render.c

Guillaume LECERF foxcore at gmail.com
Sun May 20 17:53:58 CEST 2007


2007/5/20, Guillaume LECERF <foxcore at gmail.com>:
> 2007/5/19, eugeni <subversion at mplayerhq.hu>:
> > +static void face_set_size(FT_Face face, double size)
> > +{
> > +       TT_HoriHeader *hori = FT_Get_Sfnt_Table(face, ft_sfnt_hhea);
> > +       TT_OS2 *os2 = FT_Get_Sfnt_Table(face, ft_sfnt_os2);
> > +       double mscale = 1.;
> > +       FT_Size_RequestRec rq;
> > +       FT_Size_Metrics *m = &face->size->metrics;
>
> It breaks compilation :
>
> ass_font.c:162: error: 'FT_Size_RequestRec' undeclared (first use in
> this function)
> ass_font.c:162: error: (Each undeclared identifier is reported only once
> ass_font.c:162: error: for each function it appears in.)
> ass_font.c:162: error: expected ';' before 'rq'
> ass_font.c:168: error: 'rq' undeclared (first use in this function)

OK, nevermind, it just needs freetype >= 2.3.x.


-- 
Guillaume LECERF
GeeXboX developer



More information about the MPlayer-cvslog mailing list