Fix out of memory crash when use large font file.