move static methods getCharWidth and getWordWidth from util.CharUtilities to instance methods in fonts.Font