[winswitch] neither --dpi switch or dpi setting in xpra.conf allows me to set the DPI to fixed value
Thomas Esposito
thomase00 at yahoo.com
Mon Oct 3 20:07:39 BST 2016
The fonts rendered by Xorg are very small, and I suspect the reason is
because the DPI is being set to an unreasonably low value (i.e. 42x28 now,
but varies depending on the monitor setup). Rather than deal with the
patched dummy driver, I'm assuming that I should be able to simply fix the
X DPI to a reasonable value (i.e. 96x96), since that is what I'm accustomed
to anyway, being a Windows user primarily. I know there are quasi-religious
arguments about a fixed DPI of 96, particularly with all the high-res
monitors available now, but I'd rather not get into that.
Anyway, I've attempted to fix the Xorg DPI by using the '--dpi=96' switch
on the xpra command line AND by uncommenting the 'dpi = 96' line from the
default xpra.conf file included with the install (which I have copied to
~/.xpra/xpra.conf). In both cases, this does not seem to have any effect,
and my fonts and DPI remain unreasonably small.
What am I missing?
Also interesting, although most likely unrelated, is the output I get when
running 'xrdb -q':
gnome.Xft/DPI: 98304
Xft.hinting: 1
Xft.antialias: 1
Xft.dpi: 96
Xft.rgba: none
Xcursor.size: 21
Xft/DPI: 98304
Xft.hintstyle: hintmedium
I know the DPI here is for client-side/fontconfig fonts and is unrelated to
Xorg-rendered fonts, but I find the value of 98304 to be strange here.
More information about the shifter-users
mailing list