Added SetFontType() function