diff -r -c org.dosemu-1.0.1/src/env/video/X.c dosemu-1.0.1/src/env/video/X.c *** org.dosemu-1.0.1/src/env/video/X.c Mon Jun 5 18:15:22 2000 --- dosemu-1.0.1/src/env/video/X.c Tue Sep 12 07:56:30 2000 *************** *** 1083,1090 **** if(font != NULL) XFreeFont(display, font); font = xfont; font_width = font->max_bounds.width; ! font_height = font->max_bounds.ascent + font->max_bounds.descent; ! font_shift = font->max_bounds.ascent; vga_font = font->fid; gcv.font = vga_font; XChangeGC(display, gc, GCFont, &gcv); --- 1083,1090 ---- if(font != NULL) XFreeFont(display, font); font = xfont; font_width = font->max_bounds.width; ! font_height = font->ascent + font->descent; ! font_shift = font->ascent; vga_font = font->fid; gcv.font = vga_font; XChangeGC(display, gc, GCFont, &gcv); *************** *** 2728,2735 **** } else { font_width = font->max_bounds.width; ! font_height = font->max_bounds.ascent + font->max_bounds.descent; ! font_shift = font->max_bounds.ascent; vga_font = font->fid; X_printf("X: Using font \"%s\", size = %d x %d\n", *p, font_width, font_height); break; --- 2728,2735 ---- } else { font_width = font->max_bounds.width; ! font_height = font->ascent + font->descent; ! font_shift = font->ascent; vga_font = font->fid; X_printf("X: Using font \"%s\", size = %d x %d\n", *p, font_width, font_height); break;