improved code style on initfont()