eirikbakke commented on pull request #3113:
URL: https://github.com/apache/netbeans/pull/3113#issuecomment-918373360


   I also considered using the sun.java2d.uiScale system property instead of 
the GDK_SCALE environment variable. But looking at the JDK source code, neither 
of these two support fractional scalings, e.g. 1.5x. The sun.java2d.uiScale 
value is always rounded to an int, even though it's initially parsed as a 
double, and it appears as an undocumented debugging property only. Experiments 
confirm that fractional scalings are not supported on Linux with either 
property. So keep using GDK_SCALE, and handle the 2x case only.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to