[SDL] sdl_ttf font sizes

Sam Lantinga slouken at devolution.com
Mon Jul 29 18:23:01 PDT 2002


> 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.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list