Refactorings and simplifications, no behavior change.

Main goal = splitting testFontScaler into two methods.
Fix unittest failure on my machine with Qt5.

The sample text does matter, clearly, as 5185ad4fed1ea said.
The easy way out is of course to use the real text as sample text, but let's
not do that...