[pango/harfbuzz-ng] [GPOS] Advance buffer cursor in SinglePos lookups. Ouch!



commit eae0fecefc4e294f0c182a7063348a817c111dce
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat May 30 22:17:32 2009 -0400

    [GPOS] Advance buffer cursor in SinglePos lookups.  Ouch!
---
 pango/opentype/hb-ot-layout-gpos-private.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pango/opentype/hb-ot-layout-gpos-private.h b/pango/opentype/hb-ot-layout-gpos-private.h
index 7d468d2..5ad28a6 100644
--- a/pango/opentype/hb-ot-layout-gpos-private.h
+++ b/pango/opentype/hb-ot-layout-gpos-private.h
@@ -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;
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]