Bug 1110 - DisplaySize in xorg.conf does not calculate dpi correctly
Summary: DisplaySize in xorg.conf does not calculate dpi correctly
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
Depends on:
Reported: 2004-08-17 18:07 UTC by Ryan
Modified: 2004-08-17 01:15 UTC (History)
0 users

See Also:
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

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.