JAremko / docker-x11-bridge

Simple Xpra X11 bridge to enable GUI with any docker image
GNU General Public License v3.0
179 stars 39 forks source link

Is HiDPI possible? #4

Open aisamu opened 6 years ago

aisamu commented 6 years ago

Is there a way to get HiDPI from X programs, or at least a small-but-crisp rendering?

My current (only) target is spacemacs-docker, and running it right now gives me correctly sized but very blurry text. I imagine it is rendered on a lower resolution and then upscaled.

I've tried changing XORG_DPI (env), XPRA_DPI (env), desktop-scaling (xpra.conf), but I'm limited by my lack of knowledge on both Xpra and X11.

The current workaround is to disable the system "2x" scaling, so that Xpra receives the correct screen size (4k) and renders the output accordingly. It is indeed very small, but I can increase the font size and have normal-sized, crisp text.)

Please let me know if you'd like me to check/test something that I've missed.

This is an absurdly amazing tool! Thank you very much!

totaam commented 6 years ago

What I meant is that my end goal is to have Xpra rendering using the "real" pixels, as a HiDPI app, even if that means the underlying application will be extra-small (since there's not necessarily support on X11 or by the app).

Please file an xpra ticket so this will get looked at. If you can find links to the magic macos DPI API we're supposed to use, even better.