GNOME Bugzilla – Bug 727131
place sensible upper bound on dpi
Last modified: 2014-12-15 16:46:14 UTC
Clutter blindly takes the DPI from the X server bounds, but unfortunately it does dumb things sometimes; when faced with a projector claiming a physical size of 16x9mm, Clutter assumes the projector is fantastically dense, and triggers HiDPI / scale support. Unfortunately this isn't overly helpful when you're 10 metres away from something that only does 1024x768. There's a fix for the server here, but regardless it seems like it would be good to place some sensible upper bound on the detected DPI. http://cgit.freedesktop.org/~daniels/xserver/commit/?h=lodpi
we get the resolution from the Xft/DPI XSETTINGS key, and fall back to 96.0 if that's unset. it's probably better to have gnome-settings-daemon return a reasonable bounded value, especially because otherwise GTK will do exactly the same.
*** This bug has been marked as a duplicate of bug 738748 ***