shithub: freetype+ttf2subf

Download patch

ref: 0ba89912928144811c0294ae5903658c0a33e387
parent: 74cc0e9ee4044a8b6cca7bee48914f5e75390f5b
author: David Turner <david@freetype.org>
date: Sun Jul 1 05:34:04 EDT 2007

fix a small bug in the TrueType loader that created distortion in the result
of bytecode-hinted text. Werner, feel free to package 2.3.5 now :-)

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-01  David Turner  <david@freetype.org>
+
+	* src/truetype/ttgload.c: fix a small bug that created distortions
+	in the bytecode interpreter results
+
 2007-06-30  David Turner  <david@freetype.org>
 
 	* src/truetype/ttinterp.c: add missing variable initialization,
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -436,7 +436,7 @@
 
       x     += y;
       vec->y = x;
-      *flag  = f & ~( 4 | 32 );
+      *flag  = f & FT_CURVE_TAG_ON;
     }
 
     outline->n_points   = (FT_UShort)n_points;