Correct baseline of BDF fonts

This commit is contained in:
Ben Harris 2024-11-16 14:40:47 +00:00
parent be223879a1
commit 891129f1f4

View File

@ -4309,7 +4309,7 @@ bdf_gen(int px_height)
int px_width = (px_height * XPIX * XSIZE) / (YPIX * YSIZE);
int pt_height = (long)(px_height * 7227 + 3750) / 7500;
int dpt_height = (long)(px_height * 7227 + 375) / 750;
int base = DESCENT;
int base = (px_height * DESCENT) / YSIZE;
int i;
printf("%%!\n");