diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sfnt/ttpost.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; } |