Windows scale

Hello,

I tried my game on another computer and I have a problem with the orthographic zoom.

I found a post about scaling_factor on retina / hdpi screen. But it is not the problem, defos gives a scaling_factor of 1.

I found out that the get_window_width() and get_window_height() are not the same as on my dev computer… And also different from get_width() and get_height().
The problem is : the scale in the system > display properties of windows. It is set to 125%. At 100% there is no problem.

Is there a good way to handle the windows scaling property ?
Defos gives the scale of the monitor, but I didn’t find something about the Windows scale…

What is the problem?

local width, height = window.get_size()

Is this value not including the 125% scale?

The window is 25% bigger that is the problem.
Is there a way to get the windows scaling property like the scaling factor ?