I'm way late to the game here, but I thought this deserved a reply, for posterity if nothing else.
In XQuartz, like in Xorg, the DPI value shown by xdpyinfo is changed with the "-dpi" option on the X Server command line, which in XQuartz can be set with, e.g.: defaults write org.xquartz.X11 dpi -int 218 See my ~/.xinitrc in https://github.org/robohack/dotfiles/ with additional comments. As far as I can tell the "--dpi" parameter to xrandr is basically useless.
