chiark / gitweb /
On second thoughts, don't set the sub/superscript X offsets.
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 7 Nov 2016 00:21:59 +0000 (00:21 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 7 Nov 2016 00:21:59 +0000 (00:21 +0000)
I think it'll cause more trouble than it's worth.

bedstead.c

index df1210807843f999f2d4e3f75dc54c7a035bd0c1..3ae84b5c813470896dc6c48e6918440e244c7dfe 100644 (file)
@@ -1117,8 +1117,8 @@ main(int argc, char **argv)
        printf("OS2SupXSize: %d\n", YSIZE * YPIX * 3 / (XSIZE - 1));
        printf("OS2SubYSize: %d\n", YSIZE * YPIX * 5 / (YSIZE - 3));
        printf("OS2SupYSize: %d\n", YSIZE * YPIX * 5 / (YSIZE - 3));
-       printf("OS2SubXOff: %d\n", XPIX + XPIX * 3 / (XSIZE - 1));
-       printf("OS2SupXOff: %d\n", XPIX + XPIX * 3 / (XSIZE - 1));
+       printf("OS2SubXOff: 0\n");
+       printf("OS2SupXOff: 0\n");
        printf("OS2SubYOff: %d\n", 2 * YPIX);
        printf("OS2SupYOff: %d\n", 2 * YPIX);
        printf("TTFWidth: %d\n", param->ttfwidth);