Bug 1110

Summary: DisplaySize in xorg.conf does not calculate dpi correctly
Product: xorg Reporter: Ryan <ryanpg>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Ryan 2004-08-17 18:07:27 UTC
DisplaySize width height
    This optional entry gives the width and height, in millimetres, of the
picture area of the monitor. If given this is used to calculate the horizontal
and vertical pitch (DPI) of the screen.

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 48.5
    VertRefresh 50-70
    Option      "dpms"
    DisplaySize 351 229
EndSection


xdpyinfo reports:

dimensions:    1024x768 pixels (351x229 millimeters)
resolution:    74x85 dots per inch

Gimp and firefox pick-up the incorrect dpi (gimp reports system resolution 74x85).
Comment 1 Ryan 2004-08-17 18:15:38 UTC
I was wrong, it's calculating dpy correctly.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.