diff --git a/src/sfnt/ttpost.c b/src/sfnt/ttpost.c index ac9de6e24..1dfad4298 100644 --- a/src/sfnt/ttpost.c +++ b/src/sfnt/ttpost.c @@ -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; }