diff --git a/ChangeLog b/ChangeLog index 16e6c7d8d..644fb67c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2013-10-02 Dave Arnold + + * src/cff/cf2font.c (cf2_computeDarkening): Initialize darkenAmount. + + This line was lost in commit 89ca1fd6 (from 2013-06-25). The effect + is to use a previous darkening amount when producing an unhinted, + unscaled outline. This can cause autohint samples in ftgrid and + ftview to be based on darkened CFF outlines instead of unhinted, + undarkened ones. + 2013-09-29 Dave Arnold Fix Savannah bug #39295. diff --git a/src/cff/cf2font.c b/src/cff/cf2font.c index fe454c3a9..2eb77322e 100644 --- a/src/cff/cf2font.c +++ b/src/cff/cf2font.c @@ -101,6 +101,7 @@ /* convenience. */ CF2_Fixed stemWidthPer1000, scaledStem; + *darkenAmount = 0; if ( boldenAmount == 0 && !stemDarkened ) return;