Hello.
In my previous engine, to draw fonts, I simply created a buffered image, loaded a java awt font, and drew the letters onto the image. Then I just drew some textured quads that corresponded with the text.
However with lwjgl3, since I cannot used BufferedImages (or anything awt), I was wondering how to properly create a texture atlas containing every letter/number/symbol on the English keyboard.
Here is what I tried so-far, but my understanding of the stb library is very minimal. Most of the code was copied from the lwjgl repo. http://pastebin.com/EGCWMYKh It does not run, it crashes the JVM.