xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

#1081 closed defect (worksforme)

Font size not correct with different DPI settings

Reported by: rikky Owned by: rikky
Priority: major Milestone: 0.17
Component: server Version: 0.16.x
Keywords: Cc:

Description

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.

Attachments (3)

Screenshot_DPI_0.png (18.7 KB) - added by rikky 5 years ago.
Screenshot_DPI_96.png (29.7 KB) - added by rikky 5 years ago.
xpra_infos.txt (334.4 KB) - added by rikky 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by rikky

Attachment: Screenshot_DPI_0.png added

Changed 5 years ago by rikky

Attachment: Screenshot_DPI_96.png added

Changed 5 years ago by rikky

Attachment: xpra_infos.txt added

comment:1 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to rikky

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.

comment:2 Changed 5 years ago by 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?

comment:3 Changed 5 years ago by 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.

comment:4 Changed 5 years ago by 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.

comment:5 Changed 5 years ago by 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)

comment:6 Changed 5 years ago by Antoine Martin

Resolution: worksforme
Status: newclosed

Not heard back, closing.

Note: See TracTickets for help on using tickets.