Bug 155686 - XGL calculates dpi wrongly
Summary: XGL calculates dpi wrongly
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: David Reveman
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 06:51 UTC by Stephan Binner
Modified: 2006-03-10 15:02 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Binner 2006-03-07 06:51:42 UTC
With Xorg, as printed by xdpyinfo:

  dimensions:    1920x1200 pixels (332x210 millimeters)
  resolution:    147x145 dots per inch

Same configuration and Xgl running:

  dimensions:    1920x1200 pixels (508x318 millimeters)
  resolution:    96x96 dots per inch
Comment 1 David Reveman 2006-03-09 01:45:20 UTC
I know that it has been discussed if DPI should actually be calculated like Xorg is doing it or if it should be set to something more useful like kdrive and Xgl is doing. However, I think it makes sense to have Xgl use Xorg's DPI setting when running on top of it so I'll try to fix this asap.
Comment 2 David Reveman 2006-03-09 13:54:07 UTC
Fixed in CVS.
Comment 3 Matthias Hopf 2006-03-09 15:49:07 UTC
David, I suggest closing bugs only if an updated package is available.
I'm in the process of generating a new Xgl package, but I'm stumbling over several generic build errors. Will have that fixed soon, hopefully.
Comment 4 Matthias Hopf 2006-03-10 15:02:01 UTC
Fixed in stable.