chiark / gitweb /
Actually generate the 'ss14' substitutions
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 30 Mar 2020 19:26:29 +0000 (20:26 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 30 Mar 2020 19:26:29 +0000 (20:26 +0100)
Without then, the feature doesn't work, and more surprisingly
FontForge puts the description of the feature into string ID 0, which
is meant to be the copyright notice.

bedstead.c

index d93c0b7936876a1ff22c9b076de8a31baacac92f..b62c628da535a316e66ab92ac960f1b0731c5364 100644 (file)
@@ -2150,6 +2150,8 @@ dolookups(struct glyph const *g)
                        printf("Substitution2: \"ss02\" %s\n", (*gp)->name);
                if (strcmp((*gp)->name + plen, "saa5054") == 0)
                        printf("Substitution2: \"ss04\" %s\n", (*gp)->name);
+               if (strcmp((*gp)->name + plen, "sep4") == 0)
+                       printf("Substitution2: \"ss14\" %s\n", (*gp)->name);
                if (strcmp((*gp)->name + plen, "sep6") == 0)
                        printf("Substitution2: \"ss16\" %s\n", (*gp)->name);
                if (strcmp((*gp)->name + plen, "sc") == 0)