* src/sfnt/ttpost.c (load_format_25): Do not abort frame reading.
This commit is contained in:
parent
340767bf85
commit
b0a4f99278
|
@ -299,10 +299,7 @@
|
||||||
|
|
||||||
|
|
||||||
if ( idx < 0 || idx > 257 )
|
if ( idx < 0 || idx > 257 )
|
||||||
{
|
idx = 0;
|
||||||
error = FT_THROW( Invalid_File_Format );
|
|
||||||
goto Fail;
|
|
||||||
}
|
|
||||||
|
|
||||||
glyph_indices[n] = (FT_UShort)idx;
|
glyph_indices[n] = (FT_UShort)idx;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue