Login  Register

Re: DPI scaling not working

Posted by mahesh on Jan 15, 2024; 8:41am
URL: https://forum.jogamp.org/DPI-scaling-not-working-tp4042206p4043246.html

Is there any way, I can disable automatic scaling as per DPI in GLCanvas?

I have introduced several fixes internally to account for high DPI in my application itself.
left screenshot old jogl jars and right one is with latest jars.
using jogl with and without DPI fix

The text seems to be scaled twice. I am using com.jogamp.opengl.util.awt.TextRenderer to render texts. Does latest jogl includes Dpi fix for textrenderer as well?

One more thing does DPI fix in GLCanvas work for Linux as well?