TTF font rendered incorrectly

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

TTF font rendered incorrectly

dfirmansyah
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 
Reply | Threaded
Open this post in threaded view
|

Re: TTF font rendered incorrectly

gouessej
Administrator
Hello

Do you reproduce this bug with other fonts and/or on another computer?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: TTF font rendered incorrectly

dfirmansyah
gouessej wrote
Do you reproduce this bug with other fonts and/or on another computer?
No, I haven't tried it on another machine.
I tried other font like Open Sans and Roboto which appear normally.
Reply | Threaded
Open this post in threaded view
|

Re: TTF font rendered incorrectly

gouessej
Administrator
Have you tried this font in another software? Feel free to fill a bug report.
Julien Gouesse | Personal blog | Website