Improved parameters for accurate canvas text computations