Determine new font size before painting
Decrease size of standard font, because there were rendering problems on Linux