From: Ben Harris Date: Mon, 7 Nov 2016 00:21:59 +0000 (+0000) Subject: On second thoughts, don't set the sub/superscript X offsets. X-Git-Tag: bedstead-001.002~12 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=f5313eaa02d7aa4c35fb195129716633cd8bbcb1;p=bedstead.git On second thoughts, don't set the sub/superscript X offsets. I think it'll cause more trouble than it's worth. --- diff --git a/bedstead.c b/bedstead.c index df12108..3ae84b5 100644 --- a/bedstead.c +++ b/bedstead.c @@ -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);