Mercurial > emacs
diff src/xterm.c @ 34250:7bfa8f9909d2
(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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 06 Dec 2000 10:46:42 +0000 |
parents | 029e36bf4993 |
children | d302f6935ff8 |
line wrap: on
line diff
--- 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)) {