Changing font size (SDL_TTF)

Hello Guys,

Is there any way (other than reopening the font) I can change a font size? 

I’m developing a (almost) resolution independent UI, and I would like that
the text could be scaled alongside with the GUI.

Thanks in advance!–
Eduardo B. Fonseca
ebf at aedsolucoes.com.br
16:16:06 up 3 days, 5:15, 1 user, load average: 0.08, 0.17, 0.14

Hello Guys,

Is there any way (other than reopening the font) I can change a font size?
I’m developing a (almost) resolution independent UI, and I would like that
the text could be scaled alongside with the GUI.

No, reopening the font is the correct way to resize the font.

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

Thanks a lot Sam :slight_smile:

Eduardo.On Friday 11 April 2003 13:01, Sam Lantinga wrote:

Hello Guys,

Is there any way (other than reopening the font) I can change a font

size? I’m developing a (almost) resolution independent UI, and I would
like that the text could be scaled alongside with the GUI.

No, reopening the font is the correct way to resize the font.

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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Eduardo B. Fonseca
ebf at aedsolucoes.com.br
15:02:18 up 4 days, 4:01, 1 user, load average: 2.00, 0.83, 0.72