[SDL] INSTALL SDL_ttf
pirata
pirata at trekkie.com.ar
Wed Aug 6 19:15:01 PDT 2003
El mié, 06 de 08 de 2003 a las 17:48, Sam Lantinga escribió:
> > 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
>
> See ya,
> -Sam Lantinga, Software Engineer, Blizzard Entertainment
>
#ifdef FT_OPEN_STREAM
font->args.flags = FT_OPEN_STREAM;
#else
font->args.flags = ft_open_stream;
#endif
--
pirata <pirata at trekkie.com.ar>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030806/6fdf6d3b/attachment.htm>
More information about the SDL
mailing list