Paul Wise told me that xdpyinfo prints the DPI, so that's OK, though I still think if would be nice if xrandr showed this information.