Page 1 of 1

just a quick, basic question about SDL

Posted: Wed Jul 07, 2010 5:01 pm
by Donutslayer7
I just starting shifting from Allegro to SDL, and I know you can use the SDL_ttf lib to print true type fonts to the screen, but does SDL have any functions to render text natively, I mean without the extra libs? :|

Re: just a quick, basic question about SDL

Posted: Wed Jul 07, 2010 5:17 pm
by lotios611
No.

Re: just a quick, basic question about SDL

Posted: Wed Jul 07, 2010 6:48 pm
by XianForce
Natively, SDL lacks quite a bit. You may want to try your hand at SFML, which supports most of the things natively that SDL itself does not.

(Note: I have never personally used SFML... I guess I'm just an SDL fanboy haha)

Re: just a quick, basic question about SDL

Posted: Wed Jul 07, 2010 7:20 pm
by Ginto8
Donutslayer7 wrote:I just starting shifting from Allegro to SDL, and I know you can use the SDL_ttf lib to print true type fonts to the screen, but does SDL have any functions to render text natively, I mean without the extra libs? :|
sorta... take a look at this page.

Basically, you can do bitmap fonts, but if you want a truetype font, you'd want to use SDL_ttf.