[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Aug 16 08:46:56 PDT 2012
src/hb-ot-shape-complex-arabic.cc | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 2f1747ed7d28148807ad07eb8e22db3ab5c54966
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Aug 16 11:46:46 2012 -0400
Add comment
diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc
index 3e61e69..857bf55 100644
--- a/src/hb-ot-shape-complex-arabic.cc
+++ b/src/hb-ot-shape-complex-arabic.cc
@@ -202,6 +202,10 @@ struct arabic_shape_plan_t
ASSERT_POD ();
bool do_fallback;
+ /* The "+ 1" in the next array is to accommodate for the "NONE" command,
+ * which is not an OpenType feature, but this simplifies the code by not
+ * having to do a "if (... < NONE) ..." and just rely on the fact that
+ * mask_array[NONE] == 0. */
hb_mask_t mask_array[ARABIC_NUM_FEATURES + 1];
};
More information about the HarfBuzz
mailing list