summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-05-31 17:41:35 +0300
committerEli Zaretskii <eliz@gnu.org>2015-05-31 17:41:35 +0300
commitcab645a62f3e5963ee7da94eb9c33961601c6651 (patch)
treebb09b6cf6ca9b103524201bcb7fc5947951613d9 /lisp/emacs-lisp/byte-run.el
parent643470ff797407b256eea380e0f41d3749400927 (diff)
downloademacs-cab645a62f3e5963ee7da94eb9c33961601c6651.tar.gz
emacs-cab645a62f3e5963ee7da94eb9c33961601c6651.tar.bz2
emacs-cab645a62f3e5963ee7da94eb9c33961601c6651.zip
Attempt to fix crashes due to accesses beyond glyph matrix end
* src/xdisp.c (x_produce_glyphs): When it->ascent and it->descent are determined from per-character metrics, don't let the max_ascent and max_descent become smaller than values returned by normal_char_ascent_descent, to avoid unpleasant dynamic resizing of screen line heights when text changes. * src/xterm.c (x_new_font) * src/w32term.c (x_new_font): Call get_font_ascent_descent to obtain a reasonable value for FRAME_LINE_HEIGHT, even when a font claims very large value for its height. * src/font.c (font_open_entity): Call get_font_ascent_descent to obtain a reasonable value for FRAME_SMALLEST_FONT_HEIGHT, even when a font claims very large value for its height.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions