shithub: freetype+ttf2subf

Download patch

ref: d724f20e056ad28e2197fa4e690703de78e15441
parent: ea4547ca031b14aad4fb8198ecc0d2f13371238d
author: Werner Lemberg <[email protected]>
date: Sun Jun 4 11:17:41 EDT 2006

formatting

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,19 +1,15 @@
 2006-06-04  David Turner  <[email protected]>
 
-  * src/base/ftutil.c (ft_mem_qrealloc): fix the function
-  to accept 'item_size == 0' as well, though this sounds
-  weird, it can theorically happen.
+	* src/base/ftutil.c (ft_mem_qrealloc): Fix the function to accept
+	`item_size == 0' as well -- though this sounds weird, it can
+	theorically happen.  This fixes Savannah bug #16669.
 
-  see bug #16669
+	* src/pfr/pfrobjs.c (pfr_face_init): Fix the computation
+	of `face->num_glyphs' which missed the last glyph, due to
+	the offset-by-1 computation, since the PFR format doesn't
+	guarantee that glyph index 0 corresponds to the `missing
+	glyph.  This fixes Savannah bug #16668.
 
-  * src/pfr/pfrobjs.c (pfr_face_init): fix the computation
-  of 'face->num_glyphs' which missed the last glyph, due to
-  the offset-by-1 computation, since the PFR format doesn't
-  guarantee that glyph index 0 corresponds to the "missing
-  glyph"
-
-  should fix bug #16668
-
 2006-05-25  Werner Lemberg  <[email protected]>
 
 	* builds/unix/unix-cc.in (LINK_LIBRARY): Don't comment out
@@ -28,7 +24,7 @@
 2006-05-19  suzuki toshiya  <[email protected]>
 
 	Apply patch by Derek Clegg to fix two memory leaks in the MacOS
-	resource fork handler.  This fixes savannah bug #16631.
+	resource fork handler.  This fixes Savannah bug #16631.
 
 	* src/base/ftobjs.c (load_face_in_embedded_rfork): Replace
 	`FT_Stream_Close' by `FT_Stream_Free' to fix memory leak.
@@ -222,7 +218,7 @@
 	Updated.
 
 	* builds/unix/install-sh: Updated from `texinfo' CVS module at
-	savannah.gnu.org.
+	Savannah.gnu.org.
 
 	* devel/ftoption.h: Synchronize with
 	include/freetype/config/ftoption.h.
@@ -1507,7 +1503,7 @@
 2006-01-22  Werner Lemberg  <[email protected]>
 
 	* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
-	`texinfo' CVS module at savannah.gnu.org.
+	`texinfo' CVS module at Savannah.gnu.org.
 
 2006-01-21  Werner Lemberg  <[email protected]>
 
--- a/src/base/ftutil.c
+++ b/src/base/ftutil.c
@@ -120,10 +120,10 @@
     FT_Error  error = FT_Err_Ok;
 
 
-   /* note that we now accept item_size == 0 as a valid
-    * parameter. this in order to cover very weird cases
-    * where a ALLOC_MULT macro would be called
-    */
+    /* Note that we now accept `item_size == 0' as a valid parameter, in
+     * order to cover very weird cases where an ALLOC_MULT macro would be
+     * called.
+     */
     if ( cur_count < 0 || new_count < 0 || item_size < 0 )
     {
       /* may help catch/prevent nasty security issues */