Put feature tag in a comment in each <Lookup> in TTX

Now that the ssXX features don't have fixed suffixes it's useful to
have something to say which is which.
This commit is contained in:
Ben Harris 2024-12-24 00:25:54 +00:00
parent 81c554424a
commit 04f2387455

View File

@ -3592,7 +3592,7 @@ dogsub(void)
printf(" </FeatureList>\n");
printf(" <LookupList>\n");
for (i = 0; i < ngsub_features; i++) {
printf(" <Lookup>\n");
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);