[SDL] sdl_ttf font sizes

Warren Young warren at etr-usa.com
Mon Jul 29 15:59:01 PDT 2002

Chris Thielen wrote:
> in sdl_ttf, is there a way to change the font size used when rendering
> surfaces _after_ the lib as been initialized? 

I think you're just supposed to call TTF_OpenFont to obtain a different 
font handle when you want a different font size.  That's the way all 
font libraries I've ever used work -- each unique size and style you use 
is represented by a "font object" instance.
= Video articles: http://tangentsoft.net/video/

More information about the SDL mailing list