(announce) simple font routines

thing : simple, and easily integrated fontdrawing routines for SDL
url : http://hal9001.2y.net/SDL-sysfont/

Some years ago I made a 6x9 small binary font that I used in a game I never
even released. But I kept the source for it. When I started coding on my
current project in sdl, I instantly ripped it out of the game and reinserted
it in the new project. Since it was an really easy way to add text for
debugging/info.

It is likely that others could also benefit from these small files, so I
repackaged them, fixed the font up a little, and wrote some small usage
instructions.

Happy coding :wink:

PS: if anyone somehow replies to this, cc me, I’m not subscribed–
.~. The mind is its own place,and in
http://hnb.sf.net/ /v\ itself can make a Heaven of Hell
http://hal9001.2y.net/ /(_)\ a Hell of Heaven. - John Milton
^ ^

Hello,

I read your post on the SDL mailing list and your little font library is
exactly what I need because I really do not want to deal with SDL_ttf, the
only other alternative at this time. But, for my game I need to use different
sized fonts. So I was wondering how hard it would be to edit your code to
make it support different fonts? I am not asking you to do it, I am just
asking you how hard it would be for me to do it since you know your code
better then I do. I just pretty much wonder what it will all involve.–
Jordan Wilberding <@Jordan_Wilberding>
Diginux.net Sys Admin

<wod.sourceforge.net>
<aztec.sourceforge.net>

“Fight war, not wars,
destroy power, not people”
-Crass

Please ignore this thread. It was sent on accident.

Sorry :frowning:

-Jordan Wilberding

If you want different fonts in simple code, you could take the code
I wrote to display hex fonts. Just so you don’t have to reinvent the wheel.
The font format should be described here:
http://czyborra.com/unifont/

My code is here:
http://bumba.net/~hmaon/angband-sdl/ang-sdl-current.tar.gz

If there’s any serious demand, I could separate the relevant routines
from the Angband-specific code and package it in a nicer way.On Tue, Jan 22, 2002 at 05:17:21PM -0600, Jordan Wilberding wrote:

Hello,

I read your post on the SDL mailing list and your little font library is
exactly what I need because I really do not want to deal with SDL_ttf, the
only other alternative at this time. But, for my game I need to use different
sized fonts. So I was wondering how hard it would be to edit your code to
make it support different fonts? I am not asking you to do it, I am just
asking you how hard it would be for me to do it since you know your code
better then I do. I just pretty much wonder what it will all involve.

Jordan Wilberding
Diginux.net Sys Admin

<wod.sourceforge.net>
<aztec.sourceforge.net>

“Fight war, not wars,
destroy power, not people”
-Crass


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


Greg V. (hmaon)