From f53d434b9151c4ec43c148734b49bb165e522cc9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 30 May 2009 22:17:32 -0400 Subject: [PATCH] [GPOS] Advance buffer cursor in SinglePos lookups. Ouch! --- src/hb-ot-layout-gpos-private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hb-ot-layout-gpos-private.h b/src/hb-ot-layout-gpos-private.h index 7d468d2..5ad28a6 100644 --- a/src/hb-ot-layout-gpos-private.h +++ b/src/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; } -- 2.7.4