From 7bea0c6fadc35de50ea08eb184d4b15a7b411ef3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 23 Nov 2013 22:03:15 +0000 Subject: [PATCH] Move character images to bottom of character cell instead of top. The SAA5050 data sheet shows that there's a blank scanline at the top of each alphanumeric character compared with the mosaic graphics characters. Adjust the font ascent and descent to correctly represent this. --- bedstead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bedstead.c b/bedstead.c index 4a0347a..92dd145 100644 --- a/bedstead.c +++ b/bedstead.c @@ -966,8 +966,8 @@ main(int argc, char **argv) printf("ItalicAngle: 0\n"); printf("UnderlinePosition: %d\n", -YPIX / 2); printf("UnderlineWidth: %d\n", YPIX); - printf("Ascent: %d\n", 7 * YPIX); - printf("Descent: %d\n", 3 * YPIX); + printf("Ascent: %d\n", 8 * YPIX); + printf("Descent: %d\n", 2 * YPIX); printf("LayerCount: 2\n"); printf("Layer: 0 0 \"Back\" 1\n"); printf("Layer: 1 0 \"Fore\" 0\n"); -- 2.30.2