Improve TTF parsing. Fix crashes on some old fonts.