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.
This commit is contained in:
Ben Harris 2013-11-23 22:03:15 +00:00
parent e46dd52652
commit 7bea0c6fad

View File

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