Commit 48c77da38243249b649b39b46935442d653c5d8c

Werner Lemberg 2016-11-17T07:37:50

Add minor comment to avoid confusion (#19044).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/autofit/afloader.c b/src/autofit/afloader.c
index 26bba06..64e6df5 100644
--- a/src/autofit/afloader.c
+++ b/src/autofit/afloader.c
@@ -309,7 +309,8 @@
         if ( axis->num_edges > 1 && AF_HINTS_DO_ADVANCE( hints ) )
         {
           old_rsb = loader->pp2.x - edge2->opos;
-          old_lsb = edge1->opos;
+          /* loader->pp1.x is always zero at this point of time */
+          old_lsb = edge1->opos /* - loader->pp1.x */;
           new_lsb = edge1->pos;
 
           /* remember unhinted values to later account */