optimize the font code slightly