[GPOS] Advance buffer cursor in SinglePos lookups. Ouch!
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 31 May 2009 02:17:32 +0000 (22:17 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 31 May 2009 02:17:32 +0000 (22:17 -0400)
pango/opentype/hb-ot-layout-gpos-private.h

index 7d468d2..5ad28a6 100644 (file)
@@ -264,6 +264,8 @@ struct SinglePosFormat1
       return false;
 
     valueFormat.apply_value (layout, (const char *) this, values, CURPOSITION ());
+
+    buffer->in_pos++;
     return true;
   }
 
@@ -297,6 +299,8 @@ struct SinglePosFormat2
     valueFormat.apply_value (layout, (const char *) this,
                             values + index * valueFormat.get_len (),
                             CURPOSITION ());
+
+    buffer->in_pos++;
     return true;
   }