[Mark Vojkovich]

>       It's not probed via DDC.  The monitor size is, and a DPI
>   calculation is made from that and the resolution, which of course,
>   makes no sense at all for virtual desktops.

The X server knows the largest physical resolution.  Snap the DPI to
100 or 75, whichever is closest, and leave the details to the user.  I
check X_RESOLUTION and Y_RESOLUTION in my .Xresources, and set the
default font resolution accordingly.  (I specify all my font sizes in
points, not pixels.)  It's a shame that so many new applications
support X resources poorly, though.

>   Seeing how many applications rely on DPI to be reasonable, I think
>   the business of seeding these values with data aquired from DDC
>   should be rethought.  There isn't a single DPI value for the life
>   of the X session.

Do you suggest sending applications a DPI change event when the user
changes video mode?

-- 
Kjetil T.               abusing standards for the greater good
                        http://www.microsoft.com:products@3333866552/
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to