not all plugins are made with JUCE, not all plugins support being rescaled at all.
But most of all, it’s the end-user who decides on a system-wide basis what DPI they are comfortable with. It’s would not be best practice (regarding accessibility etc) for a DAW to ignore the user’s preferences regarding DPI.
I’m aware that not all plugins are built with JUCE, but the AudioProcessorEditor object created by a AudioPluginInstance does allow you to set a scale transform … it just doesn’t work.
I’m 99% sure there is no way to apply an arbitrary scale to another window. On Windows, you can mark the HWND as DPI aware or not, I think that’s the only option.
I think you are right, we are trying to embed the plugin editor component in another component, the only way seems to be to create a heavyweight window and set it to be DPI unaware. Embedding in a juce component and trying to scale just doesn’t work.