auto resize font to get more room

It's an experimental of bug 908300, not for production