stbtt does not work in ubuntu?

Started by XenoAmess, August 11, 2019, 05:55:27

Previous topic - Next topic

XenoAmess

----------------
### 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. :)