From 7f6d1b8abcd376e94aec9c641d88f0c4d794a6ef Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 6 Aug 2017 18:28:03 +0100 Subject: [PATCH] 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). --- bedstead.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bedstead.c b/bedstead.c index 3f7ca4f..d528e70 100644 --- a/bedstead.c +++ b/bedstead.c @@ -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"); -- 2.30.2