lwjgl3-tutorial icon indicating copy to clipboard operation
lwjgl3-tutorial copied to clipboard

Remove AWT dependency

Open SilverTiger opened this issue 9 years ago • 1 comments

Currently the font loading is done by using java.awt.Font. Since LWJGL provides some STB libraries it would be great to use STBTrueType and STBEasyFont, so that you don't need the JVM argument -Djava.awt.headless=true.

SilverTiger avatar Nov 21 '15 21:11 SilverTiger

Since the LWJGL 3.0.0-SNAPSHOT you can use NanoVG for rendering text. I will look into this before deciding which binding will be used in the Font class.

SilverTiger avatar Dec 15 '15 11:12 SilverTiger