[pango/harfbuzz-ng] [GPOS] Advance buffer cursor in SinglePos lookups. Ouch!
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango/harfbuzz-ng] [GPOS] Advance buffer cursor in SinglePos lookups. Ouch!
- Date: Sat, 30 May 2009 23:19:46 -0400 (EDT)
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]