chiark / gitweb /
Remove alternate arrows.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 6 Aug 2017 20:33:11 +0000 (21:33 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 6 Aug 2017 20:33:11 +0000 (21:33 +0100)
While pretty, they were inauthentic and awkward to use.  This also
removes the 'salt' lookup, which was inappropriate anyway.

bedstead.c

index 11f83b0a1836a4d5588962cf2524e620c3d91310..2bbddc82b64fac89c9eb5ac4ccfdcaa7a60d9d56 100644 (file)
@@ -1044,10 +1044,6 @@ static struct glyph {
  {{004,002,037,000,037,010,004,000,000}, 0x21cc }, /* harpoonsrightleft */
  {{000,024,030,037,030,024,000,000,000}, 0x21e4 }, /* arrowtableft */
  {{000,005,003,037,003,005,000,000,000}, 0x21e5 }, /* arrowtabright */
- {{000,004,010,023,010,004,000,000,000}, -1, "arrowleft.alt" },
- {{000,004,002,031,002,004,000,000,000}, -1, "arrowright.alt" },
- {{000,004,012,021,004,004,000,000,000}, -1, "arrowup.alt" },
- {{000,004,004,021,012,004,000,000,000}, -1, "arrowdown.alt" },
  /* Mathematical operators */
  {{000,000,000,037,000,000,000,000,000}, 0x2212, "minus" },
  {{037,000,004,004,037,004,004,000,000}, 0x2213 }, /* minusplus */
@@ -1528,8 +1524,6 @@ main(int argc, char **argv)
        printf("EndPrivate\n");
        /* Force monochrome at 10 and 20 pixels, and greyscale elsewhere. */
        printf("GaspTable: 5 9 2 10 0 19 3 20 0 65535 3\n");
-       printf("Lookup: 1 0 0 \"salt: stylistic alternates\" {\"salt\"} "
-           "['salt' ('DFLT' <'dflt'> 'latn' <'dflt'>)]\n");
        printf("Lookup: 1 0 0 \"ss01: SAA5051 forms\" {\"ss01\" (\"saa5051\")} "
            "['ss01' ('DFLT' <'dflt'> 'latn' <'dflt'>)]\n");
        printf("OtfFeatName: 'ss01' 1033 \"SAA5051\"\n");
@@ -1739,9 +1733,6 @@ dolookups(struct glyph const *g)
        for (i = 0; i < nglyphs; i++) {
                if (glyphs[i].name &&
                    strncmp(prefix, glyphs[i].name, plen) == 0) {
-                       if (strcmp(glyphs[i].name + plen, "alt") == 0)
-                               printf("Substitution2: \"salt\" %s\n",
-                                      glyphs[i].name);
                        if (strcmp(glyphs[i].name + plen, "saa5051") == 0)
                                printf("Substitution2: \"ss01\" %s\n",
                                       glyphs[i].name);