[cff] Fix error code.

* src/cff/cffload.c (cff_font_load): Do it.
This commit is contained in:
Werner Lemberg 2011-11-26 18:13:09 +01:00
parent f8f576d1d4
commit d05d56fff0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-11-26 Werner Lemberg <wl@gnu.org>
[cff] Fix error code.
* src/cff/cffload.c (cff_font_load): Do it.
2011-11-26 Werner Lemberg <wl@gnu.org>
Add new error code FT_Err_Missing_Module.

View File

@ -1576,7 +1576,7 @@
if ( dict->charstrings_offset == 0 )
{
FT_ERROR(( "cff_font_load: no charstrings offset\n" ));
error = CFF_Err_Unknown_File_Format;
error = CFF_Err_Invalid_File_Format;
goto Exit;
}