Programming => General Java Game Development => Topic started by: XenoAmess on August 11, 2019, 05:55:27

Title: stbtt does not work in ubuntu?
Post by: XenoAmess on August 11, 2019, 05:55:27
### Environment

* LWJGL version: 3.2.2
* Java version: adopt openjdk12
* Platform: ubuntu 19(linux)
* Module: stbtt

### Description

My engine works fine in windows and I'm trying to port it to linux.
And I just find out that the texts drawing using stbtt is not right.
I will put the two screenshots in attachment...

(focus on the DEMO text in left top corner.)
I just don't know why it happened...

If you wanna reproduce:
the codes can be found in https://github.com/cyanpotion/cyan_potion,
just run com.xenoamess.cyan_potion.cyan_potion_demo.ForceEntrance.main() to enter the demo.

Thanks for reading. :)