Make sure to register fonts only once
Fix bounds of autosized textfields
Ensure line metrics after changing autoSize
Merge pull request #1828 from tobytailor/text

More text fixes