chiark / gitweb /
Stop trying to create a 'gasp' table
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 2 Jun 2024 16:55:08 +0000 (17:55 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 2 Jun 2024 16:55:08 +0000 (17:55 +0100)
As far as I can tell, the "GaspTable" line that I put in the SFD file
has never actually worked.  I don't think I want it to anyway: even
when the source pixels line up precisely with the display pixels, it's
still worth having anti-aliasing on the diagonal lines.  And of course
none of this would work properly for any width other than the default
one.

So overall, it doesn't work, and if it did I'd want it to stop.  So
let's remove it.

bedstead.c

index adf33addc3470c5db43881cf81f5e5fdc5b51160..ccd88a0096df3d7d0a00f73d5664cf0bcc4b409e 100644 (file)
@@ -2577,8 +2577,6 @@ main(int argc, char **argv)
               (double)(YPIX * 1), (double)(YPIX * 1));
        printf(" BlueFuzz 1 0\n"); 
        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: 3 0 0 \"aalt: all alternates\" {\"aalt\"} "
            "['aalt' ('DFLT' <'dflt'> 'latn' <'dflt'>)]\n");
        printf("Lookup: 1 0 0 \"ss01: SAA5051 forms\" {\"ss01\" (\"saa5051\")} "