* 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.
2.6.5
Dave Arnold 11 years ago committed by Werner Lemberg
parent 3a2cb0f881
commit 0b33045285
  1. 10
      ChangeLog
  2. 1
      src/cff/cf2font.c

@ -1,3 +1,13 @@
2013-10-02 Dave Arnold <darnold@adobe.com>
* 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 <darnold@adobe.com>
Fix Savannah bug #39295.

@ -101,6 +101,7 @@
/* convenience. */
CF2_Fixed stemWidthPer1000, scaledStem;
*darkenAmount = 0;
if ( boldenAmount == 0 && !stemDarkened )
return;

Loading…
Cancel
Save