SilverTiger / lwjgl3-tutorial

Tutorial for the Lightweight Java Game Library (LWJGL) 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove AWT dependency

SilverTiger opened this issue · 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.

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.