printf(" <Lookup> <!-- '%s' -->\n", gsub_features[i].tag);
if (gsub_features[i].suffix != NULL) {
/* Single lookup for all glyphs with a suffix. */
- TTXI("LookupType", 1);
TTXI("LookupFlag", 0);
printf(" <SingleSubst>\n");
dosinglesubs(gsub_features[i].suffix);
printf(" </SingleSubst>\n");
} else if (gsub_features[i].xml != NULL) {
/* Raw XML for a substitution. */
- TTXI("LookupType", 1);
TTXI("LookupFlag", 0);
printf("%s", gsub_features[i].xml);
} else {
/* All possible alternative glyphs. */
- TTXI("LookupType", 3);
TTXI("LookupFlag", 0);
printf(" <AlternateSubst>\n");
doaltsubs(gsub_features[i].noverrides,
printf(" </FeatureList>\n");
printf(" <LookupList>\n");
printf(" <Lookup>\n");
- TTXI("LookupType", 1);
TTXI("LookupFlag", 0);
/*
* We have only a few dx/dh combinations, so it makes sense to