[SDL] INSTALL SDL_ttf

Bursig Rafal bursig at poczta.fm
Wed Aug 6 14:41:00 PDT 2003


On 2003.08.06 22:48, Sam Lantinga wrote:
> > Hi,
> 
> > Thanks for your response. Do you mean replace the FT_Open_Args in
> > the TTF_Font  struct with FT_OPEN_STREAM? I tried it and it won't
> > compile either. I thought that the ft_open_stream variable in the
> > TTF_OpenFontIndexRW would just have to be declared as some type, 
> but I can't work out what. The row that is accessing it is:
> 
> >  font->args.flags = ft_open_stream;
> 
> Change this to:
>    font->args.flags = FT_OPEN_STREAM;
> 
> I'll fix it in CVS as soon as I can figure out how to make it work
> with FreeType 2.0 as well as 2.1
> 

#ifndef FT_OPEN_STREAM
#define FT_OPEN_STREAM ft_open_stream
#endif

Rafal





More information about the SDL mailing list