Correctly calculate the height to point factor and the scale factor for outline drawing