[winswitch] Font troubles with Mac client

Antoine Martin antoine at nagafix.co.uk
Wed Feb 8 04:22:23 GMT 2017


On 08/02/17 05:58, Douglas Doole via shifter-users wrote:
> Hi. I'm having trouble with fonts when using the Mac client.
> 
> My server is Ubuntu 14.04. Both the client and server are running Xpra
> 1.0.2.
> 
> Most of the time I am connected to my Xpra server from my Ubuntu machine in
> loopback mode (client and server running on the same machine). When I'm
> working remotely, however, I'll connect from my MacBook Pro.
> 
> When I connect Xpra, all the windows that are already open are fine.
> (Generally the windows are terminals and gvim. The text in all the windows
> is a reasonable size.) However if I create any new windows (such as start a
> new instance of gvim) the text in the new window is too small to read.
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.

> Non-text elements (such as icons and window controls) are properly sized,
> so it's not a general scaling issue. (I've tried other applications as
> well, such as firefox and eclipse, and the behaviour is consistent - tiny
> fonts but other elements are properly sized.)
Please see:
https://www.xpra.org/trac/wiki/DPI

> Any suggestions on how to fix the fonts for newly created windows from the
> Mac client?
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)
The output from the "Xpra.app/Contents/Helpers/NativeGUI_info" would be
useful too.

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".

Cheers
Antoine


> 
> Thanks
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> 




More information about the shifter-users mailing list