Talk:SDL ttf:Tutorials:Basic Font Rendering

From GPWiki

Every single artsy font that you find isn't suited for use in a game.

Did you mean:

"Not every single artsy font that you'll find is suited for use in a game."

or could you have meant

"Not a single artsy font that you'll find is suited for use in a game."

At the moment it could mean either. Dejvid 19:27, 11 October 2005 (EDT)

blitting

Could somebody please add how to get the font onto the screen? Sorry I didn't do it myself, but i hardly know what i'm doing.

This is the code-fragment i missed here:

SDL_Rect rcDest = { 10, 10, 10, 10 };
SDL_BlitSurface(text, NULL, screen, &rcDest);
SDL_FreeSurface(text)

After reading this article i tried to add the font directly to the "screen = SDL_SetVideoMode(..."-surface.