Page 1 of 1

How to fix the current dpi bug with the PB editor (windows)

Posted: Sat Mar 26, 2022 4:33 pm
by Jeromyal
If you are a windows user and have that dpi problem with the editor there is a simple fix

either use my PureBasic_Portable launcher viewtopic.php?p=580186#p580186

OR

write your own launcher that set the following environment variable before you launch PureBasic with RunProgram()
SetEnvironmentVariable("__COMPAT_LAYER","GdiDPIScaling DPIUnaware")

Or you can add it to the user variables control panel of the system.

Hope this help those in need.