Merge pull request #29 from csmith/textpane

More TextPane tidying.
Remove dodgy line height calculation.

Use the proper font metrics to calculate line height and spacing.
For Dialog size 12 (our default font), this seems to be identical
behaviour. Other fonts define more sensible leadings, so are
spaced out properly.

This also fixes highlighting having gaps for large font sizes.