Le Samedi 28 Avril 2007 15:07, Victor Stinner a écrit :
> To fix the bug:
>     Check error code

Patch proposition:

diff -u -r1.127 sfobjs.c
--- sfnt/sfobjs.c       10 Apr 2007 11:51:50 -0000      1.127
+++ sfnt/sfobjs.c       28 Apr 2007 13:08:55 -0000
@@ -576,6 +576,8 @@
     /* fonts within PDF documents, so don't check for them.            */
     LOAD_( maxp );
     LOAD_( cmap );
+    if ( error != SFNT_Err_Ok)
+        goto Exit;

     /* the following tables are optional in PCL fonts -- */
     /* don't check for errors                            */

Victor
-- 
Victor Stinner
http://www.inl.fr/


_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to