* src/sfnt/sfobjs.c (sfnt_load_face): Check error code after loading

`cmap'.
This commit is contained in:
Werner Lemberg 2007-04-28 21:06:15 +00:00
parent cc712a248c
commit 1b5267dad1
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-04-28 Victor Stinner <victor.stinner@inl.fr>
* src/sfnt/sfobjs.c (sfnt_load_face): Check error code after loading
`cmap'.
2007-04-27 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check for negative

View File

@ -575,7 +575,10 @@
/* the following tables are often not present in embedded TrueType */
/* fonts within PDF documents, so don't check for them. */
LOAD_( maxp );
LOAD_( cmap );
if ( error )
goto Exit;
/* the following tables are optional in PCL fonts -- */
/* don't check for errors */