From: Behdad Esfahbod Date: Sun, 31 May 2009 02:17:32 +0000 (-0400) Subject: [GPOS] Advance buffer cursor in SinglePos lookups. Ouch! X-Git-Tag: 1.25.1~110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eae0fecefc4e294f0c182a7063348a817c111dce;p=platform%2Fupstream%2Fpango.git [GPOS] Advance buffer cursor in SinglePos lookups. Ouch! --- 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; }