Changed the automatic font size computation