Port from deprecated QFontMetrics::charWidth() to horizontalAdvance()
I extended the unit tests and made sure they passed on master, then ported to QFontMetrics::horizontalAdvance() and they still pass
I extended the unit tests and made sure they passed on master, then ported to QFontMetrics::horizontalAdvance() and they still pass