update base font calculation