Fix chars scaling

The chars with measuredWidth less then width look terrible after scaling. Let to move it in center instead of scaling.
A more descriptive variable is needed here. What is 'd'?