The most funny one up to now seems from bug #120480:
(--) RADEON(0): Display dimensions: (10, 10) mm
[You should think to buy a monitor with more than 1 square cm :-) ]
(--) RADEON(0): DPI set to (2600, 1950)
Thinking aloud how I would fix this:
If DPI.width<MIN_REASONABLE_WIDTH
if DPI.height<MIN_REASONABLE_HEIGHT
/* both screwed up */
Log 'screen report to be too small to be true, ignoring screen size reported by monitor'
DPI.width and DPI.height = 17 inch monitor values
else
DPI.width=4/3 * DPI.height
Log 'screen width reported by monitor seems too small, adjusting with height.
else if DPI.height<MIN_REASONABLE_Height
DPI.height=3/4 * DPI.width
Log 'screen height reported by monitor seems too small, adjusting with width'
end if
return DPI.width and DPI.height
The most funny one up to now seems from bug #120480:
(--) RADEON(0): Display dimensions: (10, 10) mm
[You should think to buy a monitor with more than 1 square cm :-) ]
(--) RADEON(0): DPI set to (2600, 1950)
Thinking aloud how I would fix this: MIN_REASONABLE_ WIDTH MIN_REASONABLE_ HEIGHT MIN_REASONABLE_ Height
If DPI.width<
if DPI.height<
/* both screwed up */
Log 'screen report to be too small to be true, ignoring screen size reported by monitor'
DPI.width and DPI.height = 17 inch monitor values
else
DPI.width=4/3 * DPI.height
Log 'screen width reported by monitor seems too small, adjusting with height.
else if DPI.height<
DPI.height=3/4 * DPI.width
Log 'screen height reported by monitor seems too small, adjusting with width'
end if
return DPI.width and DPI.height