[SDL] Can I output english words without using SDL_ttf

Jonathan Dearborn grimfang4 at hotmail.com
Sun Oct 21 10:43:36 PDT 2007


Hey,
 
I have a C++ class that handles bitmap fonts at my website: http://pubpages.unh.edu/~jmb97 on the SDL page.
 
If you use C++, NFont makes it pretty simple to do this stuff.  Just #include NFont.h in your code.  It's based on SFont, in case that helps you know what to expect.
 
ex.
NFont font(screen, SDL_LoadBMP("fontFile.bmp"));
font.draw(30, 50, "Here's five: %d", 5);
 
Jonny D



> Date: Sun, 21 Oct 2007 18:54:47 +0800> To: sdl at lists.libsdl.org> From: cocobear.cn at gmail.com> Subject: [SDL] Can I output english words without using SDL_ttf> > > I just want to put some words, but I don't want to use SDL_ttf.> > > > Regards!> > /*> *Welcome to cocobear's home!> *http://cocobear.cn> */> _______________________________________________> SDL mailing list> SDL at lists.libsdl.org> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_________________________________________________________________
Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20071021/e6ac4611/attachment.html 


More information about the SDL mailing list