diff --git a/src/hb-ot-layout-private.hh b/src/hb-ot-layout-private.hh index 510aec93645ca239f5a8faff123d251350e480ff..e10178202af59b52d1ce608ed19a069765f79de8 100644 --- a/src/hb-ot-layout-private.hh +++ b/src/hb-ot-layout-private.hh @@ -39,9 +39,9 @@ /* buffer var allocations, used during the GSUB/GPOS processing */ -#define glyph_props() var1.u16[1] /* GDEF glyph properties */ -#define syllable() var2.u8[0] /* GSUB/GPOS shaping boundaries */ -#define lig_props() var2.u8[1] /* GSUB/GPOS ligature tracking */ +#define glyph_props() var1.u16[0] /* GDEF glyph properties */ +#define syllable() var1.u8[2] /* GSUB/GPOS shaping boundaries */ +#define lig_props() var1.u8[3] /* GSUB/GPOS ligature tracking */ #define hb_ot_layout_from_face(face) ((hb_ot_layout_t *) face->shaper_data.ot) diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index b014c744f3b85f97bbdac86a1e94108c151e8459..2a96b7da82e723f837f9f25e8207f86a55bd9baf 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -30,7 +30,7 @@ /* buffer var allocations */ -#define arabic_shaping_action() complex_var_temporary_u8() /* arabic shaping action */ +#define arabic_shaping_action() complex_var_u8_0() /* arabic shaping action */ /* diff --git a/src/hb-ot-shape-complex-indic-private.hh b/src/hb-ot-shape-complex-indic-private.hh index 719d287376b38241b188e047c1c50d95e0e4b2c9..79daba593843e692600f2a9d120edaa0c4bfe6a6 100644 --- a/src/hb-ot-shape-complex-indic-private.hh +++ b/src/hb-ot-shape-complex-indic-private.hh @@ -35,8 +35,8 @@ /* buffer var allocations */ -#define indic_category() complex_var_persistent_u8_0() /* indic_category_t */ -#define indic_position() complex_var_persistent_u8_1() /* indic_matra_category_t */ +#define indic_category() complex_var_u8_0() /* indic_category_t */ +#define indic_position() complex_var_u8_1() /* indic_matra_category_t */ #define INDIC_TABLE_ELEMENT_TYPE uint8_t diff --git a/src/hb-ot-shape-complex-private.hh b/src/hb-ot-shape-complex-private.hh index baece320d85992a1d59edb0c020ee1b3f6a9186b..efff3259a5ef6a15ad74f6dbf7d08600e6a5ddbd 100644 --- a/src/hb-ot-shape-complex-private.hh +++ b/src/hb-ot-shape-complex-private.hh @@ -35,9 +35,8 @@ /* buffer var allocations, used by complex shapers */ -#define complex_var_persistent_u8_0() var2.u8[2] -#define complex_var_persistent_u8_1() var2.u8[3] -#define complex_var_temporary_u8() var2.u8[0] +#define complex_var_u8_0() var2.u8[2] +#define complex_var_u8_1() var2.u8[3] diff --git a/src/hb-ot-shape-private.hh b/src/hb-ot-shape-private.hh index 975665e960e1a385c0988003e406029d18877bcd..f85604554a9aab4eb10862425cab71fb0cfe662c 100644 --- a/src/hb-ot-shape-private.hh +++ b/src/hb-ot-shape-private.hh @@ -34,8 +34,8 @@ /* buffer var allocations, used during the entire shaping process */ -#define unicode_props0() var1.u8[0] -#define unicode_props1() var1.u8[1] +#define unicode_props0() var2.u8[0] +#define unicode_props1() var2.u8[1]