QupZilla/qupzilla — pull request #575 by ff2000 (2012-09-16 11:00:45+00:00)
Title: adjust bar rect to look more centered on specific font sizes

e.g. "sans serif, 8" had a topDiff of 6 and a bottomDiff of 8
which made the bar look somewhat out of place
deviding by 2 prevents the text from looking out of place...

Also don't wrap words - it will remove part of text if fm.width > textRect.width.