fixed npe when font file is not parseable