On Sun, Aug 24, 2003 at 11: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.
>
>I see. Is it updated in the Xserver manual page?
>I have the old version which goes like this:
>       -dpi resolution
>               sets the resolution of the  screen,  in  dots  per
>               inch.  To be used when the server cannot determine
>               the screen size from the hardware.

I don't see how that description is inconsistent with what I said.
Maybe knowing how it works influences the way I read the description?

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