summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-12 17:50:19 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-12 17:50:19 -0400
commit075e9925cc9d4675e5a6be65e599e4ee97f2d018 (patch)
treeeaa2e9f8e29291895fdbf69c1bfd5a82eca10686
parent68b88d292b4be0bffe321c3da84891c4a7b3ba6f (diff)
downloadpango-075e9925cc9d4675e5a6be65e599e4ee97f2d018.tar.gz
[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.
-rw-r--r--pango/pango-ot-info.c4
1 files 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;