Don't use the deprecated FontMetrics.getAverageCharWidth

There is the new getAverageCharacterWidth which returns double instead
of int now.

Change-Id: Id0efec3051c2992faddb9c5f172043ea9b353212
1 file changed