Correct sign of OS2SubYOff.

Microsoft's documentation says it's the offset below the baseline, as
opposed to above for superscript.
This commit is contained in:
Ben Harris 2016-11-07 00:17:47 +00:00
parent 163446d3fa
commit ab75eedf7c

View File

@ -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");