ref: 48c77da38243249b649b39b46935442d653c5d8c
parent: dd26e3d07c5b650fb2b92c86ee003e52d33259ec
author: Werner Lemberg <[email protected]>
date: Thu Nov 17 02:37:50 EST 2016
Add minor comment to avoid confusion (#19044).
--- 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 */