Font Maps

Hello,

I know this is not the right place to ask but I presume someone here might help me. I am looking for different font maps (picture) like in the Nehe Tutorial 17 … I think there was a place somewhere online where you could download a lot but I can’t seam to find it nomore.

And is there a way to use the AWT Font object in JOGL to create the fonts … ?

Or perhaps simpler. what is the best way to use draw 2d menu text in JOGL.

Yup, probably the best and easiest way to do it :slight_smile: I use a font renderer which is shamelessly based on one pinched from Cas’ SPGL. Basically draws each character into an assigned grid position on a texture so you can use the ascii value to look it up. Add in a bunch of numbers to remember the character spacing and offset positions and string them together in a big triangle list for drawing.

I’m not quite sure if NeHe 17 is the bitmap font one? but if it is… there is a tool to generate bitmap fonts here:

http://www.lmnopc.com/bitmapfontbuilder

Kev

Thanx for the link … just what I needed.

euh … would you mind sending me that piece of code, 'cause I could really use it. If you want to, pls send it to: kozen@pandora.be

Thanx!