Fixed font setting bug and use less margin.