* src/sfnt/ttpost.c (load_format_25): Do not abort frame reading.

This commit is contained in:
Alexei Podtelezhnikov 2023-04-02 22:45:48 -04:00
parent 340767bf85
commit b0a4f99278
1 changed files with 1 additions and 4 deletions

View File

@ -299,10 +299,7 @@
if ( idx < 0 || idx > 257 )
{
error = FT_THROW( Invalid_File_Format );
goto Fail;
}
idx = 0;
glyph_indices[n] = (FT_UShort)idx;
}