I’m having no luck getting my plugin’s GUI DPI aware on Windows. When I create a standalone WIndows application, the correct DPI scaling is applied by Juce automatically and my app displays fine. However, the same GUI classes will not apply any scaling on the same monitor when ran from inside the plugin. Checking with juce::DIsplays, the display.scale is just set to 1.0, while display.dpi is set to the proper 240.0.
Could this be because the host app (Premiere in this case) flags itself as DPI-aware (have to check if this is actually the case), and we’re being taken along for a ride under those settings?
On OSX this problem doesn’t occur and the plugin’s GUI is scaled properly.
I’ve read that I could apply a transform to my windows to have scaling that way, but if it can be fixed in a more structural way that would be better of course.