Split up the font size calculation

The font size is a view concern, but the relative size belongs in the
model layer.