DPI settings.

Yves-Alexis Perez corsac at debian.org
Tue Feb 17 11:52:36 CET 2009

On mar, 2009-02-17 at 11:41 +0100, Christian Dywan wrote:
> > What should be done in Xfce at startup is:
> > - look in xfconf if there is an user-set DPI value
> > - if not, ask xserver for the DPI of the display
> > - if not present, use 96
> You want to have a computed value here, 96 is not at all useful for the
> reasons you already mentioned: it's likely wrong for your monitor and
> n monitors don't (always) have the same size.

Youy didn't read the point2. If the xserver doesn't know a DPI value,
and the user didn't set it, there's no way we can do that by ourself. So
go for a default.


More information about the Xfce4-dev mailing list