Add explicit BlueValues, OtherBlues, and BlueFuzz.

BlueValues gains the upper edge of symbols and Hebrew letters.
OtherBlues gains the bottom edge of symbols.  BlueFuzz is set to zero
because it's unnecessary (and this is recommended by the Type 1 spec).
This commit is contained in:
Ben Harris 2017-08-06 18:28:03 +01:00
parent 5e29327447
commit 7f6d1b8abc

View File

@ -1517,9 +1517,14 @@ main(int argc, char **argv)
printf("StrokedFont: 1\n");
printf("StrokeWidth: 50\n");
}
printf("BeginPrivate: 2\n");
printf(" StdHW 5 [%d]\n", YPIX);
printf(" StdVW 5 [%d]\n", XPIX * (100 + weight->weight) / 100);
printf("BeginPrivate: 5\n");
printf(" StdHW 6 [%4d]\n", YPIX);
printf(" StdVW 6 [%4d]\n", XPIX * (100 + weight->weight) / 100);
printf(" BlueValues 35 [0 0 %4d %4d %4d %4d %4d %4d]\n",
YPIX * 5, YPIX * 5, YPIX * 6, YPIX * 6, YPIX * 7, YPIX * 7);
printf(" OtherBlues 21 [%4d %4d %4d %4d]\n",
YPIX * -2, YPIX * -2, YPIX * 1, YPIX * 1);
printf(" BlueFuzz 1 0\n");
printf("EndPrivate\n");
/* Force monochrome at 10 and 20 pixels, and greyscale elsewhere. */
printf("GaspTable: 5 9 2 10 0 19 3 20 0 65535 3\n");