Hey all,
I'm looking for some pointers on coming up with a hack to better support
HiDPI with wine on my hi-res display (not something that would be submitted
upstream. "hack" indeed)... As you are all probably aware; while you can
adjust DPI in Winecfg, that only affects Windows UI elements ~ but It does
not help with anything outside of that... I have some apps that are
basically unusable with HiDPI and i've tried multiple solutions, to no
avail. (and setting my resolution to 1440x900 isn't a viable solution
either).
I've been poking around dlls/winex11.drv and I'm wondering if anyone might
have pointers on how some of the scale related stuff works? -- I'm
wondering if it may be possible to hack the x11 code to multiply the scale
of the window contents? (and perhaps, I can then wrap it in an env variable
for use)...
If anyone has any pointers, or if they think something like this could work
-- I'd appreciate your insights (again, I'm just looking for kind of a
one-off hack, not something upstream-able.. I'm sure HiDPI
compatibility-mode will land upstream, at some point (Windows has this)).
While I am familiar with some of Wine's internals - the graphics stack,
window management / x11 code is somewhat alien to me.
Alternatively, i suppose if someone is working on related code and has a
git branch / patchwork available, I'd be open to try that out too.
Thanks, and Happy New Year to you all!
Jordan