Commit 26438805c761ef91eb2dbc21cdf342f077469f22

David Turner 2002-07-01T21:57:36

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.

diff --git a/ChangeLog b/ChangeLog
index 94ae30b..00fe943 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-01  Owen Taylor  <owen@redhat.com>
+
+    * 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  <keithp@keithp.com>
 
     * src/sfnt/ttcmap0.c: fixing the cmap 8 and 12 parsing routines
diff --git a/src/pshinter/pshalgo2.c b/src/pshinter/pshalgo2.c
index 2cd3911..2eb8b8c 100644
--- 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++ )
         {