Hello Guest

Problems with rendering text

  • 3 Replies
  • 2150 Views
Problems with rendering text
« 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.

*

Offline Cornix

  • *****
  • 488
Re: Problems with rendering text
« Reply #1 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.

Re: Problems with rendering text
« Reply #2 on: February 27, 2015, 23:14:37 »
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?

*

Offline Cornix

  • *****
  • 488
Re: Problems with rendering text
« Reply #3 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?