Login  Register

TTF font rendered incorrectly

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

TTF font rendered incorrectly

dfirmansyah
2 posts
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
| More
Print post
Permalink

Re: TTF font rendered incorrectly

gouessej
Administrator
6038 posts
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
| More
Print post
Permalink

Re: TTF font rendered incorrectly

dfirmansyah
2 posts
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
| More
Print post
Permalink

Re: TTF font rendered incorrectly

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