shithub: freetype+ttf2subf

Download patch

ref: 2628ea9c12cbc6dab86c2b502835d5ea16d52c04
parent: bf02d396ca98b51fe5026fffdb43953d26959ac0
author: David Turner <[email protected]>
date: Wed Jan 10 08:15:56 EST 2007

* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
        fixed a typo which created an endless loop with some malformed
        font files

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-10  David Turner  <[email protected]>
+
+	* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
+	fixed a typo which created an endless loop with some malformed
+	font files
+
 2007-01-10  Derek Clegg  <[email protected]>
 
 	* src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point
--- a/src/pshinter/pshalgo.c
+++ b/src/pshinter/pshalgo.c
@@ -1032,7 +1032,7 @@
 
         orient_prev = psh_corner_orientation( in_x, in_y, out_x, out_y );
 
-      } while ( orient_prev != 0 );
+      } while ( orient_prev == 0 );
 
       first = start;
       in_x  = out_x;