From 26438805c761ef91eb2dbc21cdf342f077469f22 Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 1 Jul 2002 21:57:36 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ src/pshinter/pshalgo2.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94ae30bd1..00fe9433a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-07-01 Owen Taylor + + * 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 * 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 2cd3911cc..2eb8b8caf 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++ ) {