Better and simplier font size computation