Fix Savannah bug #41507.

* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap)
[!FT_CONFIG_OPTION_USE_PNG] <17, 17, 19>: Fix error handling.
This commit is contained in:
Eugen Sawin 2014-02-08 06:30:06 +01:00 committed by Werner Lemberg
parent 355b359ebb
commit a8ceae4008
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2014-02-08 Eugen Sawin <esawin@mozilla.com>
Fix Savannah bug #41507.
* src/sfnt/ttsbit.c (tt_sbit_decoder_load_bitmap)
[!FT_CONFIG_OPTION_USE_PNG] <17, 17, 19>: Fix error handling.
2014-02-08 Dave Arnold <darnold@adobe.com>
[cff] Fix minor performance bug.

View File

@ -1016,10 +1016,11 @@
case 19: /* metrics in EBLC, PNG image data */
#ifdef FT_CONFIG_OPTION_USE_PNG
loader = tt_sbit_decoder_load_png;
break;
#else
error = FT_THROW( Unimplemented_Feature );
goto Fail;
#endif /* FT_CONFIG_OPTION_USE_PNG */
break;
default:
error = FT_THROW( Invalid_Table );