shithub: freetype+ttf2subf

Download patch

ref: d9b4470e39a6799e49d3f383273d52a075f0bf3f
parent: 98e510ee94e552e9e9f80891aa87b2b472d0f276
author: Werner Lemberg <[email protected]>
date: Tue Apr 22 03:33:07 EDT 2014

* src/sfnt/pngshim.c (error_callback): s/longjmp/ft_longjmp/.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-22  Werner Lemberg  <[email protected]>
+
+	* src/sfnt/pngshim.c (error_callback): s/longjmp/ft_longjmp/.
+
 2014-04-20  Werner Lemberg  <[email protected]>
 
 	[autofit] Fix Savannah bug #42148.
--- a/src/sfnt/pngshim.c
+++ b/src/sfnt/pngshim.c
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    PNG Bitmap glyph support.                                            */
 /*                                                                         */
-/*  Copyright 2013 by Google, Inc.                                         */
+/*  Copyright 2013, 2014 by Google, Inc.                                   */
 /*  Written by Stuart Gill and Behdad Esfahbod.                            */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -129,7 +129,7 @@
 
     *error = FT_THROW( Out_Of_Memory );
 #ifdef PNG_SETJMP_SUPPORTED
-    longjmp( png_jmpbuf( png ), 1 );
+    ft_longjmp( png_jmpbuf( png ), 1 );
 #endif
     /* if we get here, then we have no choice but to abort ... */
   }