From ab75eedf7ce2ddb566ec288e7f10a298c98dd83a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 7 Nov 2016 00:17:47 +0000 Subject: [PATCH] Correct sign of OS2SubYOff. Microsoft's documentation says it's the offset below the baseline, as opposed to above for superscript. --- bedstead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedstead.c b/bedstead.c index dff2e33..df12108 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1119,7 +1119,7 @@ main(int argc, char **argv) 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("OS2SubYOff: %d\n", -2 * YPIX); + printf("OS2SubYOff: %d\n", 2 * YPIX); printf("OS2SupYOff: %d\n", 2 * YPIX); printf("TTFWidth: %d\n", param->ttfwidth); printf("LayerCount: 2\n"); -- 2.30.2