From 469524692bd0a258b28e63294c984e677a9c2477 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 17 Oct 2013 21:01:57 +0200 Subject: [PATCH] [otlayout] Code shuffling --- src/hb-ot-layout-private.hh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/hb-ot-layout-private.hh b/src/hb-ot-layout-private.hh index 9a4d6d8b9..0278cb550 100644 --- a/src/hb-ot-layout-private.hh +++ b/src/hb-ot-layout-private.hh @@ -1,6 +1,6 @@ /* * Copyright © 2007,2008,2009 Red Hat, Inc. - * Copyright © 2012 Google, Inc. + * Copyright © 2012,2013 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * @@ -38,15 +38,15 @@ #include "hb-set-private.hh" -/* buffer var allocations, used during the GSUB/GPOS processing */ -#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 */ - /* buffer var allocations, used during the entire shaping process */ #define unicode_props0() var2.u8[0] #define unicode_props1() var2.u8[1] +/* buffer var allocations, used during the GSUB/GPOS processing */ +#define glyph_props() var1.u16[0] /* GDEF glyph properties */ +#define lig_props() var1.u8[2] /* GSUB/GPOS ligature tracking */ +#define syllable() var1.u8[3] /* GSUB/GPOS shaping boundaries */ + enum { MASK0_ZWJ = 0x20u, @@ -114,8 +114,6 @@ _hb_glyph_info_flip_joiners (hb_glyph_info_t *info) } -#define hb_ot_layout_from_face(face) ((hb_ot_layout_t *) face->shaper_data.ot) - /* * GDEF */ @@ -306,5 +304,7 @@ HB_INTERNAL void _hb_ot_layout_destroy (hb_ot_layout_t *layout); +#define hb_ot_layout_from_face(face) ((hb_ot_layout_t *) face->shaper_data.ot) + #endif /* HB_OT_LAYOUT_PRIVATE_HH */