Dr Andrew C Aitchison wrote:

> On Wed, 20 Aug 2003, Alex Deucher wrote:
> 
>> this is a semi-fix, but it still does not deal with monitors that have
>> different DPI.  Perhaps this is something that needs to be looked at
>> for xfree 5.
> 
> Almost certainly not before XFree86 v5.
> Even then I don't think a solution to your "problem" is actually possible
> for Xinerama; I don't know whether it would be for MergedFB.
> 
> 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.

> IMO either you want the same DPI on both screens (fake whatever
> value you want with DisplaySize or X -dpi NN) or you want two
> non-xinerama heads - display:0.0 and display:0.1, which allows
> apps on each head to get the right answer for that screen*, and
> stops the DPI changes which would occur if the window was allowed to
> move between screens.

I agree, but I think that Xinerama/MergedFB could at least be smart enough
to either: A. do the right thing if you have two displays with the same DPI
or B. throw in the towel when you have two displays with very different
DPI.

Cheers,
-n8
-- 
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to