Login  Register

TTF font rendered incorrectly

Posted by dfirmansyah on Jan 22, 2021; 3:54am
URL: https://forum.jogamp.org/TTF-font-rendered-incorrectly-tp4040986.html

Hello,

I use TextRenderUtil to render text using custom font (WorkSans-Regular.ttf), but the rendered characters is just square, like picture bellow.



I use sample code from xranby (https://github.com/xranby/jogamp-forum-examples/blob/master/src/main/java/xranby/com/gudinna/JogAmpGraphAPITextDemo.java).

My jogl version is 2.3.2, and my OS is Windows 10 with Intel UHD 620 gpu.

Thanks.

WorkSans-Regular.ttf