forked from minhngoc25a/freetype2
[cff] Fix error code.
* src/cff/cffload.c (cff_font_load): Do it.
This commit is contained in:
parent
f8f576d1d4
commit
d05d56fff0
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue