mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-08-06 12:24:27 -04:00
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:
parent
e46dd52652
commit
7bea0c6fad
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user