It looks like OF doesn’t know how to detect HiDPI displays on Windows. It’s been a while but I remember it not being too complicated to get this working on MacOS, the last time I tried (a couple of years ago).
Digging around a bit, it sounds like GLFW has added support for scaling detection on windows via the
glfwGetWindowContentScale function. I spent some time hacking around in the
ofAppGLFWWindow.cpp file, and as described, I was able to detect the DPI scaling of the display (as a float value) and use it to set the
pixelScreenCoordScale. This let’s OF know we have a high resolution display, and I could see some scaling aware UI elements (like ofxDatGUI) were now displaying at the scaled-up resolution I wanted. However the window size itself was now the wrong size as well as a number of other measurements like calculating the display width. (I think this is still a difference between OSX and Windows)
Still, I think with a little bit of work, we should be able to get HiDPI support working in visual studio.