Change calculation of auto-sizing text so that some different fonts are also supported