Fixes for Retina DPI calculation (text display size)
The backingScaleFactor always seems to return a value of "2.0" on a Retina display, even for a standard-resolution context. The Apple docs specifically recommend against using backingScaleFactor. So instead we use the convertRectToBacking method, which provides the correct results.
Edited by David Gobbi