[SDL] simple SDL_ttf example

Sam Hocevar sam at zoy.org
Tue Nov 15 01:34:38 PST 2005

On Tue, Nov 15, 2005, Mario Ohnewald wrote:

> I would like to draw a simple text onto my screen.
> I have already read the SDL_ttf stuff from
> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fttf but i am kind of missing a
> simple example which "puts" it all together.
> I am new to all this and a simple link/example would be great.

   The SDL_ttf sources include a small example, showfont.c. You can
find it on http://www.libsdl.org/cgi/cvsweb.cgi/SDL_ttf2/showfont.c
(click on "download").


More information about the SDL mailing list