and legacy software Re: pyorbit

Adam Williamson adamwill at fedoraproject.org
Tue Aug 18 17:18:30 UTC 2015


On Fri, 2015-07-31 at 02:34 +0200, Kevin Kofler wrote:

> * the default DPI is now (at least in master) hardcoded to 96 instead 
> of
>   defaulting to the value actually reported by the hardware.

KDE / Qt doesn't default to the value actually reported by the hardware
either, because X doesn't report the size of the monitor as the
DisplaySize. It just generates a DisplaySize that will result in a DPI
of 96. So in almost all cases KDE / Qt carefully calculate a value that
X has set up to basically always produce 96 in the first place.

https://www.happyassassin.net/2015/07/09/of-dpis-desktops-and-toolkits/
https://bugs.freedesktop.org/show_bug.cgi?id=41115 (PPL IZ MAD)
http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/modes/xf86Rand
R12.c#n787

The only case where this doesn't hold is if X configuration contains a
DisplaySize (manually added by the user or by the distro or some config
tool or something), or if the -dpi parameter is passed to X (in which
case X generates a DisplaySize that matches the requested DPI).
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net



More information about the devel mailing list