On Sun, Aug 24, 2003 at 12:16:23PM +0200, Alexander Pohoyda wrote:
>David Dawes <[EMAIL PROTECTED]> writes:
>
>> >> Xinerama *hides* the fact that there are two heads, so there is no
>> >> way for the app to be told a different DPI debending which head it is
>> >> currently on - what should it be told if it is on both ?
>> >
>> >This is my point exactly.  When I raised this issue it was not to elicit a
>> >"correct" solution, but rather to point out that the whole notion of DPI is
>> >nonsense WRT Xinerama/MergedFB.  I would suggest this as a "correct-ish"
>> >solution:  If Xinerama/MergedFB detects that both screens have nearly the
>> >same resolution (to within some configurable tolerance) then use the
>> >average of the two.  Otherwise the user has to specify the DPI to use with
>> >the -dpi command line switch or some other mechanism.  (Is there a DPI
>> >option in the XF86Config file?)  It might be nice to be able to specify
>> >"use DPI from screen foo" in the ServerLayout section to simplify the
>> >process a bit.
>> 
>> There is no DPI option in the XF86Config file, but one could be added.
>
>That's true, but we have DisplaySize property in the Monitor section.

The -dpi command line option is global, applying to all screens.  It is
easier to use when you want that result, and especially in the Xinerama
case where it may not be possible to derive a unique value for the single
screen presented to clients.

David
-- 
David Dawes
Founder/committer/developer                     The XFree86 Project
www.XFree86.org/~dawes
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to