[SDL] sdl_ttf font sizes

Chris Thielen chris at luethy.net
Mon Jul 29 18:46:00 PDT 2002


On Mon, 2002-07-29 at 18:21, Sam Lantinga wrote:
> > Well, I'll be switching the sizes back and forth. I'll be needing the
> > old size again, so, is there a methodology in SDL_ttf to do that or ...
> > what? Should I reinit the font?
> 
> Just open the font twice, once with each point size.
> You'll get two different font handles, with the same font at different sizes.

Thanks Sam, and thanks Clemens, yea, this all helps. Thanks.

-- chris (chris at luethy.net)





More information about the SDL mailing list