PDA

View Full Version : creating fonts



Alessandro_dup1
07-14-2003, 08:53 AM
I know it is possible to create fonts from a bitmap image which contains all the characters. I've been looking for a tutorial but could not find any...

flupke
07-14-2003, 09:44 AM
I made a small lib based on DFont (http://phoenix.lhup.edu/~dleimbac/Projects/DFont/) using SDL and SDL_image to use bitmap fonts easilly (in SFont (http://www.linux-games.com/sfont/) format), you can look at the code to give you an idea :
http://www.choupette.org/flupke/mySite/files/DFontGL/DFontGL-0.0.3.zip

(get SDL and SDL_image from www.libsdl.org (http://www.libsdl.org) if you want to try it)

[This message has been edited by flupke (edited 07-14-2003).]

rgpc
07-14-2003, 08:15 PM
Not an advanced question but...

You can find a good tutorial here (http://nehe.gamedev.net)

You will also find a tool to make the bitmaps in Nehe's tools/downloads section.