[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Fri Oct 12 00:52:11 UTC 2018
src/hb-graphite2.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1e816d62efe1b3540ef605092b97794e68ec0832
Author: David Corbett <corbett.dav at husky.neu.edu>
Date: Thu Oct 11 20:37:49 2018 -0400
Fix Indic script tags in Graphite
diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc
index e8d7c348..6b2b6f19 100644
--- a/src/hb-graphite2.cc
+++ b/src/hb-graphite2.cc
@@ -279,8 +279,8 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan,
/* TODO ensure_native_direction. */
- hb_tag_t script_tag[2];
- unsigned int count = 2;
+ hb_tag_t script_tag[HB_OT_MAX_TAGS_PER_SCRIPT];
+ unsigned int count = HB_OT_MAX_TAGS_PER_SCRIPT;
hb_ot_tags_from_script_and_language (hb_buffer_get_script (buffer),
HB_LANGUAGE_INVALID,
&count,
More information about the HarfBuzz
mailing list