[SDL] sdl_ttf font sizes
chris at luethy.net
Mon Jul 29 17:19:01 PDT 2002
On Mon, 2002-07-29 at 15:58, Warren Young wrote:
> 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.
So the only way to switch sizes is to close the font I'm working with
and open it up again at a different size?
-- chris (chris at luethy.net)
More information about the SDL