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

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun May 20 18:13:50 CEST 2007


On Sunday 20 May 2007, Guillaume LECERF wrote:
> 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.

It works with 2.2.1 here. I'll see if this could be done with older freetype 
versions.



More information about the MPlayer-cvslog mailing list