Constant DPI regardless of resolution

Nicolas Mailhot nicolas.mailhot at laposte.net
Wed Jul 2 00:53:32 PDT 2008


Le Mar 1 juillet 2008 21:47, Nikos Chantziaras a écrit :

> I'm not really sure who is responsible for fixing it.  A fixed DPI
> means
> that the physical screen dimensions are not constant.  Currently the X
> server assumes those dimensions are constant.  With good reason; there
> aren't any monitors out there made of gum (yet?)

In the case of a remote desktop or a VM the virtual screen is likely
to be made of gum and you do want to change its virtual size
dynamically to have a 1:1 relationship between virtual and actual
pixels.

> The only thorough way of fixing it IMO is a setting in the X server
> that
> basically says "trust the user; don't be smart in calculating DPI;
> simply trust what the user said and keep DPI constant no matter what."

This is exactly what won't work in a VM/hotplug/whatever context. What
the user said basically assumes a fixed dpi and/or physical size,
which is not the reality. You absolutely do *not* want to trust the
user and have the system adapt auto-dynamically to changes.


-- 
Nicolas Mailhot



More information about the xorg mailing list