LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: laxeot on February 27, 2015, 12:02:20

Title: Problems with rendering text
Post by: laxeot on February 27, 2015, 12:02:20
For hours, I've been trying to render text on the screen with my own custom .ttf font (I also have a bitmap version). I've gone through Slick2D and other libraries/classes and I'm starting to get frustrated. How do YOU guys render text easily?

Edit: Just wanna clarify that my game IS 2D and not 3D.
Title: Re: Problems with rendering text
Post by: Cornix on February 27, 2015, 16:45:09
It is planned that LWJGL will get font support in the future.
But at the moment I use AWT's font rendering into a BufferedImage and then I use this buffered image to create an openGL Texture.
Title: Re: Problems with rendering text
Post by: laxeot on February 27, 2015, 23:14:37
Quote from: Cornix on February 27, 2015, 16:45:09
It is planned that LWJGL will get font support in the future.
But at the moment I use AWT's font rendering into a BufferedImage and then I use this buffered image to create an openGL Texture.
How would you go about doing something like this?
Title: Re: Problems with rendering text
Post by: Cornix on February 28, 2015, 13:16:16
Perhaps you should ask more specific questions if you want to get an answer. Which part are you having problems with?