chiark / gitweb /
Put feature tag in a comment in each <Lookup> in TTX
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 24 Dec 2024 00:25:54 +0000 (00:25 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 29 Dec 2024 18:50:52 +0000 (18:50 +0000)
Now that the ssXX features don't have fixed suffixes it's useful to
have something to say which is which.

bedstead.c

index 737bbcd7c010751c7eabd24e9c4baa88afc76331..40ab55b601abf154be8c8dce59465863957f6805 100644 (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);