ref: 0b3304528543339c4ee9260e76afa173e5e7b613
parent: 3a2cb0f881e7dc20b7714d2051254310471edee0
author: Dave Arnold <[email protected]>
date: Wed Oct 2 07:04:06 EDT 2013
* 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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2013-10-02 Dave Arnold <[email protected]>
+
+ * 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 <[email protected]>
Fix Savannah bug #39295.
--- 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;