Commit d17cabf57d1ab5e0b6ca2562bc2d6386c6a506f6

Werner Lemberg 2014-07-26T09:53:50

[cff] Fix typo. * src/cff/cf2hints.c (cf2_glyphpath_computeOffset): Use correct offsets in third quadrant. Reported by maks <maksqwe1@ukr.net>.

diff --git a/ChangeLog b/ChangeLog
index 4085017..2be36e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-07-26  Werner Lemberg  <wl@gnu.org>
+
+	[cff] Fix typo.
+
+	* src/cff/cf2hints.c (cf2_glyphpath_computeOffset): Use correct
+	offsets in third quadrant.
+
+	Reported by maks <maksqwe1@ukr.net>.
+
 2014-07-17  Werner Lemberg  <wl@gnu.org>
 
 	Fix Savannah bug #42788.
diff --git a/src/cff/cf2hints.c b/src/cff/cf2hints.c
index 5853d77..81049f4 100644
--- a/src/cff/cf2hints.c
+++ b/src/cff/cf2hints.c
@@ -1560,7 +1560,7 @@
         {
           /* -y */
           *x = -glyphpath->xOffset;
-          *y = glyphpath->xOffset;
+          *y = glyphpath->yOffset;
         }
         else
         {