check if font file exist before setting it