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

could always design your own bitmapped font setup, too

-WillOn 10/21/07, cocobear <cocobear.cn at gmail.com> wrote:

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

? Sun, 21 Oct 2007 06:26:31 -0500
"Will Langford" ??:

sdl_font maybe.

What is sdl_font? Is it still a library.Or can you give me more
information.

Maybe you don’t understand what i mean, I want a simple way echo some
words on screen, I don’t want use any library.

If it is impossible, may I use fonts which already in the OS. How can I
do this?

could always design your own bitmapped font setup, too

-Will

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

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/> On 10/21/07, cocobear <@cocobear> wrote:

Quoting cocobear <cocobear.cn at gmail.com>:

I just want to put some words, but I don’t want to use SDL_ttf.

if i is just a few words that arnt going to change then you should make
a bitmap
with the messages in and display then on screen like any other surface.

or if you look at my crazeeman code it uses predrawn bitmaps of each
letter and
uses a bit of code to plot each letter as a surface in the string you supply
it. - this i think is the best and only way to to text in SDL without addon
font libraries.

unfortunatley you cant look at my code easilly because my webserver has
exploded
and is currently a lump of melted plasic and steel.>

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

e-mail provided by Moose Internet Services
http://www.moose.co.uk/

? Sun, 21 Oct 2007 14:46:35 +0100
neil at cloudsprinter.com ??:

Quoting cocobear <@cocobear>:

I just want to put some words, but I don’t want to use SDL_ttf.

if i is just a few words that arnt going to change then you should
make a bitmap
with the messages in and display then on screen like any other
surface.

or if you look at my crazeeman code it uses predrawn bitmaps of each
letter and
uses a bit of code to plot each letter as a surface in the string you
supply it. - this i think is the best and only way to to text in SDL
without addon font libraries.

I had considered, If does not have other means , this should be a good
way.

unfortunatley you cant look at my code easilly because my webserver
has exploded
and is currently a lump of melted plasic and steel.

Can you give me your code?

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

e-mail provided by Moose Internet Services
http://www.moose.co.uk/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/

crazeeman and letters code can be currently located at / from
http://wiki.gp2x.org/wiki/Fr:CrazeeMan the french for download it
telecharger (
the download is on the right of the page ( Le fichier de la version GP2x )

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

? Sun, 21 Oct 2007 13:43:36 -0400
Jonathan Dearborn ??:

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

I use C now, but I will use C++ in my next work. So it’s very useful to
me. Thanks.

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

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/> > Date: Sun, 21 Oct 2007 18:54:47 +0800> To: sdl at lists.libsdl.org>

From: @cocobear> Subject: [SDL] Can I output english