glv
February 6, 2023, 12:13pm
23
Hello @Grusat ,
I also got this working (x1 scaling) on my W10 PC by passing these to command line in IntelliJ:
This required the following:
There is a reference to this in the GitHub resources I shared but I had to do some work on how to inject these into IntelliJ settings to add to command line.
:)
Grusat
February 21, 2023, 10:47am
24
I found the solution to my problem :
Just add
System.setProperty("sun.java2d.uiScale", "1");
before the PApplet.runSketch()
It desactivates the auto scaling with Windows parameters.
Thank you all for your help !
6 Likes
glv
June 30, 2025, 6:27pm
25
I was experimenting with JavaFX (FX2D Renderer) and had a similar issue.
This works for FX2D renderer:
Hello @esc746 ,
I just had the same issue!
How to disable scaling in JavaFX so it behaves like Processing:
You can turn off automatic DPI scaling in JavaFX by setting a system property:
System.setProperty("glass.win.uiScale", "1");
:)