Windows Compatibility HiDPI Awareness Ruins Canvas.Graphics Resolution

Ok, I finally succeeded with a native DateTimePicker from declares. I thought.
The trick to have the NoDate checkbox scale correctly was to change the app’s HiDPI compatibility settings to system (or system enhanced).
But then text in Xojo Canvases get drawn in low resolution. I tried to change g.scalex and scaley, but that changes nothing.
Any ideas what could be done here for full HiDPI compatibility?


Xojo HIDPI on, app HIDPI compatibility set to app. I could compensate the text size but not the checkbox.


Xojo HIDPI off, app HIDPI compatibility set to system.


Xojo HIDPI on, app HIDPI compatibility set to system. Perfect control but drawtext is low-res.