From 075e9925cc9d4675e5a6be65e599e4ee97f2d018 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 12 Aug 2009 17:50:19 -0400 Subject: [OT] Enlarge lookup array We'll fix it properly later when ruleset logic is moved into HarfBuzz. In the mean time, IranNastaliq was hitting the 100 limit. --- pango/pango-ot-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index 1099a30b..cade38f5 100644 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@ -541,7 +541,7 @@ _pango_ot_info_substitute (const PangoOTInfo *info, PangoOTRule *rule = &g_array_index (ruleset->rules, PangoOTRule, i); hb_mask_t mask; unsigned int lookup_count, j; - unsigned int lookup_indexes[100]; + unsigned int lookup_indexes[1000]; if (rule->table_type != PANGO_OT_TABLE_GSUB) continue; @@ -588,7 +588,7 @@ _pango_ot_info_position (const PangoOTInfo *info, PangoOTRule *rule = &g_array_index (ruleset->rules, PangoOTRule, i); hb_mask_t mask; unsigned int lookup_count, j; - unsigned int lookup_indexes[100]; + unsigned int lookup_indexes[1000]; if (rule->table_type != PANGO_OT_TABLE_GPOS) continue; -- cgit v1.2.1