[winswitch] Font troubles with Mac client

Douglas Doole dougdoole at gmail.com
Wed Feb 8 17:48:42 GMT 2017

As always, thanks for your help Antoine.

I should have looked for DPI problems, but I dismissed it as an issue since
icons looked fine while the fonts were screwy.

On Tue, Feb 7, 2017 at 8:22 PM Antoine Martin via shifter-users <
shifter-users at lists.devloop.org.uk> wrote:

> This tells us that the DPI settings are being applied from the mac and
> the applications you launch only read these settings when they start.
> (that's unfortunate, but most applications behave this way)
> The server log file should have logged it, please include it.

Looking in the server log after connecting from the MacBook I find:

2017-02-08 09:32:54,078 setting keyboard layout to 'us'
2017-02-08 09:32:54,127 DPI set to 17 x 21 (wanted 72 x 72)
2017-02-08 09:32:54,127  you may experience scaling problems, such as huge
or small fonts, etc
2017-02-08 09:32:54,127  to fix this issue, try the dpi switch, or use a
patched Xorg dummy driver

Is the Mac display a high DPI display? What resolution? (actual
> specifications not Apple's marketing terms) What does the client see it
> as? (client and server command line output will log it)

2017-02-08 09:32:54,065  client root window size is 1440x900 with 1 display
2017-02-08 09:32:54,065   ddoole-ltm1.internal.salesforce.com (508x317 mm -
DPI: 72x72) workarea: 1440x873 at 0x31
2017-02-08 09:32:54,065     monitor 1
2017-02-08 09:32:54,068 server virtual display now set to 1440x900

The output from the "Xpra.app/Contents/Helpers/NativeGUI_info" would be
> useful too.

That give a fair bit of output. If you think a ticket is in order, I'll
attach it there.

> You can try changing the DPI manually, ie: add {{{--dpi=96}}} to the
> client command line.
> If that works, you can stick this setting in "~/.xpra/xpra.conf".

Forcing DPI to 96 did the trick.

More information about the shifter-users mailing list