font calculation fixed