int* _fcBankId = 0;
int* _fcBankIdx = 0;
+FcValueList ** _fcValueLists = 0;
+FcPatternElt ** _fcPatternElts = 0;
+int FcDebugVal = 0;
int
FcCacheBankToIndexMTF (int bank)
return line;
}
-char *dir = 0;
+static char *dir = 0;
static FILE *
scanopen (char *file)
int total_leaves = 0;
int offset_count = 0;
int l, sl, tl;
- int c;
static char line[1024];
static FcChar32 map[MAX_LANG_SET_MAP];
int num_lang_set_map;
printf (" { (FcChar8 *) \"%s\",\n"
" { FC_REF_CONSTANT, %d, FC_BANK_LANGS, "
- "{ .stat = { %d, %d } } } }, /* %d */\n",
+ "{ { %d, %d } } } }, /* %d */\n",
langs[i],
sets[j]->num, offsets[j], offsets[j], j);
}
*/
if (ncountry)
{
+ int c;
int ncountry_ent = 0;
printf ("\n");
printf ("static const FcChar32 fcLangCountrySets[][NUM_LANG_SET_MAP] = {\n");
i = country[c];
if (i >= 0)
{
- int l = strchr (langs[i], '-') - langs[i];
+ int lang = strchr (langs[i], '-') - langs[i];
int d, k;
for (k = 0; k < num_lang_set_map; k++)
for (k = 0; k < num_lang_set_map; k++)
printf (" 0x%08x,", map[k]);
printf (" }, /* %*.*s */\n",
- l, l, langs[i]);
+ lang, lang, langs[i]);
++ncountry_ent;
}
}