ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: Goombert on May 05, 2019, 09:13:17 AM

Title: LateralGM High DPI Workaround
Post by: Goombert on May 05, 2019, 09:13:17 AM
I've had this issue with LGM on my high DPI 2K monitor for a while now. I even have the issue running LGM under Java 9. I finally did some research and found a workaround I'd like to share.
https://superuser.com/a/1207925

I tried that on my installed "javalocation/bin/java.exe" but it didn't work at first. So what I did was ask the MSYS2 console where java is.
Code: (Bash) [Select]
$ where java
C:\ProgramData\Oracle\Java\javapath\java.exe

I then went there and applied the fix to that exe and it worked. You just right click the exe->Compatibility tab->"Change high DPI settings" and override the DPI scaling factor. I set mine to "System (Enhanced)" to get the results below.

DPI System (Enhanced)
(https://i.imgur.com/Tyknw0M.png)

DPI Unaware/Broken
(https://i.imgur.com/khfWPmF.png)
Title: Re: LateralGM High DPI Workaround
Post by: Darkstar2 on May 05, 2019, 08:31:32 PM
Am I missing something ? The image under DPI broken is much sharper and cleaner than the DPI system enhanced one in your screenshots.  Did you mislabel them ?
Title: Re: LateralGM High DPI Workaround
Post by: Goombert on May 05, 2019, 09:30:58 PM
Sort of, I don't understand fully what's going on. Yes, I notice the fonts are blurrier, but icons are not broken and the room grid isn't having half-pixel alignment problems. It's honestly pitiful that Oracle doesn't fix this.