Bugzilla #49695: Replaced magic numbers with constants from UnitConv and GraphicsConstants Patch submitted by Joshua Marquart (joshua dot marquart _at. firstdata .dot_ com), applied with some modifications