shithub: freetype+ttf2subf

Download patch

ref: 26438805c761ef91eb2dbc21cdf342f077469f22
parent: 49b1a9d00ae19950693d6158638874d02d5ffb21
author: David Turner <[email protected]>
date: Mon Jul 1 17:57:36 EDT 2002

where, if a glyph has more than hint mask, the second mask
gets applied to points that should have been covered by the
first mask.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-01  Owen Taylor  <[email protected]>
+
+    * src/pshinter/pshalgo2.c (psh2_glyph_find_strong_points): fix a bug
+    where, if a glyph has more than hint mask, the second mask gets applied
+    to points that should have been covered by the first mask.
+
 2002-07-01  Keith Packard  <[email protected]>
 
     * src/sfnt/ttcmap0.c: fixing the cmap 8 and 12 parsing routines
--- a/src/pshinter/pshalgo2.c
+++ b/src/pshinter/pshalgo2.c
@@ -1130,6 +1130,7 @@
       /* process secondary hints to "selected" points */
       if ( num_masks > 1 )
       {
+        first = mask->end_point;
         mask++;
         for ( ; num_masks > 1; num_masks--, mask++ )
         {