Added flat font and generic string width method