adding letterSpacing to calculateCharacterWidth(), re-add font