Font

Hi!

Does somebody know a good font-output-API. I
already tried to program an own using AWT but
that didn’t work :’(

WiESi

I assume that you mean a font texture generator, if so Bitmap Font Builder is a handy tool, do a search on google. SPGL has this stuff too.

Has somebody got the SPGL jar? I don’t want to download every single Java-file.

WiESi

There’s no official jar as there’s no official release. The only “official” way of getting the SPGL is via CVS, for which you’ll need a CVS client.

However, someone here might have an “unofficial” pre-packaged jar for you?

Otherwise, if you install Alien Flux via WebStart you’ll likely find a SPGL jar in somewhere like “C:\WINDOWS\Application Data\Sun\Java\Deployment\javaws\cache\http\Dwww.puppygames.net\P80\DMdownloads”, but this is only the class files, and I’ve no idea how old it is. This should definitely be your last resort.

OK, maybe I’ll download it via CVS. But I could use
GLUT too. Has someone ported GLUT to Java (in
connection with LWJGL, not JOGL)?

WiESi

No, but most of GLUT’s functionality is interfacing to the windowing system, which every API does in its own way. What specifically in GLUT are you after?

I need this four:

  • glutBitmapCharacter
  • glutBitmapLength
  • glutBitmapString
  • glutBitmapWidth

WiESi

Pah! SPGL does fonts better than GLUT :slight_smile:

Cas :slight_smile: