Xpra: Ticket #1081: Font size not correct with different DPI settings

Since 0.16.0 the font size for DPI=96 is to big. Using DPI=0 results in a to small font size. See attached screenshots.



Fri, 08 Jan 2016 08:53:51 GMT - rikky: attachment set


Fri, 08 Jan 2016 08:54:12 GMT - rikky: attachment set


Fri, 08 Jan 2016 08:54:27 GMT - rikky: attachment set


Fri, 08 Jan 2016 08:59:01 GMT - Antoine Martin: owner changed

From your xpra info, I see that you are using Ubuntu 15.04 which is retired this month and will no longer be supported.

Please be more specific, how did you change the DPI? General guidelines here: wiki/ReportingBugs

Also, Ubuntu uses Xvfb rather than wiki/Xdummy, so I don't think there is much we can do about this, sorry.


Fri, 08 Jan 2016 09:32:09 GMT - rikky:

The dpi was changed in xpra.conf. I was not aware of other possibilities to change the dpi settings. After changing the dpi setting, I restarted xpra server and client.

xdummy was used, as shown in xpra_infos.txt line 63.

I'll try to update to Ubuntu 15.10. Do you expect this issue to be fixed with Ubuntu 15.10?


Fri, 08 Jan 2016 09:34:28 GMT - Antoine Martin:

Upgrading to Ubuntu 15.10 is unlikely to improve things much, a perfect setup requires Xdummy with a patched driver...

I'm not sure how you ended up using Xdummy with Ubuntu, as this doesn't work out of the box. For good DPI support, you would need a patched dummy xorg driver, we do not supply one for Ubuntu at present.


Fri, 08 Jan 2016 10:25:36 GMT - rikky:

Ubuntu 15.04 with xpra 0.15.x and DPI=96 in xpra.conf worked perfectly with the stock Xdummy driver.

I ended up with Xdummy by just installing xserver-xorg-video-dummy package and using the commented xvfb=/usr/bin/Xorg... line in xpra.conf.


Sat, 09 Jan 2016 09:51:17 GMT - Antoine Martin:

I ended up with Xdummy by just installing xserver-xorg-video-dummy package and using the commented xvfb=/usr/bin/Xorg... line in xpra.conf.


That's odd, I did test vivid and had problems running Xdummy - which is why it is disabled by default in the packages. I'll check again with wily / xenial.


For more information on DPI issues see #163 (the dummy patches are in this ticket). Setting the DPI in xpra.conf should override the client detection and is generally not what you want as it will interfere with other options (like desktop-scaling #976) Please see that ticket for debugging steps (ie: xdpyinfo, xrdb, etc)


Wed, 16 Mar 2016 05:57:26 GMT - Antoine Martin: status changed; resolution set

Not heard back, closing.


Sat, 23 Jan 2021 05:14:26 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1081