On Mon, Aug 25, 2003 at 07:40:40PM +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? > >Sorry, I didn't imply the inconsistency in your words. I only think >that current description could benefit from some more details. >In my eyes, it would be worth mentioning that this option will apply >to all screens.
OK. >Also, I believe that it would be good to state that the -dpi option >will overwrite the resolution of all screens even in the case when >resolution is implicitely defined via Monitor/DisplaySize and >Screen/Display/Modes options. If it's the case. I guess we should state somewhere that command line options always override parameters from elsewhere, just as parameters supplied explicitly in the config file override auto-detected values, which in turn override fall-back default values. I'll try to make this clearer in the relevant man pages. David -- David Dawes Founder/committer/developer The XFree86 Project www.XFree86.org/~dawes _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel