Split up the font size calculation

The font size is a view concern, but the relative size belongs in the
model layer.
Merge pull request #164 from kytrinyx/adjust-font-size

Split up the font size calculation