# HG changeset patch # User Gerd Moellmann # Date 976099602 0 # Node ID 7bfa8f9909d28cfa9e3bf04cebc232898599ccf8 # Parent e1f215aaf4497c46ac1790097c29f20d1696a62f (x_load_font): Don't use the font's max_bounds for computing the height of the font. If max_bounds' ascent or descent are greater than the font's ascent or descent, this means glyphs overlap, which should be handled now by redisplay. diff -r e1f215aaf449 -r 7bfa8f9909d2 src/xterm.c --- a/src/xterm.c Wed Dec 06 10:41:29 2000 +0000 +++ b/src/xterm.c Wed Dec 06 10:46:42 2000 +0000 @@ -13213,13 +13213,6 @@ fontp->size = font->max_bounds.width; fontp->height = FONT_HEIGHT (font); - { - /* For some font, ascent and descent in max_bounds field is - larger than the above value. */ - int max_height = font->max_bounds.ascent + font->max_bounds.descent; - if (max_height > fontp->height) - fontp->height = max_height; - } if (NILP (font_names)) {