chiark / gitweb /
Don't auto-hint mosaic graphics characters.
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 13 Dec 2019 18:37:52 +0000 (18:37 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 13 Dec 2019 18:37:52 +0000 (18:37 +0000)
Suggested by Jason A.

bedstead.c

index c69fa90d7b0e46008f999459ee3bc0dca49147e4..e8afe54a69eae013eb4145496125fa1d7f47bab5 100644 (file)
@@ -1794,7 +1794,10 @@ main(int argc, char **argv)
                    glyphs[i].unicode != -1 ? glyphs[i].unicode :
                    65536 + extraglyphs++, glyphs[i].unicode, i);
                printf("Width: %g\n", (double)(XSIZE * XPIX));
-               printf("Flags: HW\n");
+               if (glyphs[i].flags & (MOS|MOS4))
+                       printf("Flags: W\n");
+               else
+                       printf("Flags: HW\n");
                printf("LayerCount: 2\n");
                dolookups(&glyphs[i]);
                if (glyphs[i].flags & MOS)