diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-05-27 17:56:16 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-05-27 17:56:16 +0300 |
commit | 1d87cb3cfa08086be96f78ab09d99f3e7ba8ca60 (patch) | |
tree | ad88f33f5e597e144625d017207353cfb1c16a42 /lisp/emacs-lisp/byte-run.el | |
parent | 171981622f072546aed135668e53fdeb7b012631 (diff) | |
download | emacs-1d87cb3cfa08086be96f78ab09d99f3e7ba8ca60.tar.gz emacs-1d87cb3cfa08086be96f78ab09d99f3e7ba8ca60.tar.bz2 emacs-1d87cb3cfa08086be96f78ab09d99f3e7ba8ca60.zip |
Avoid very high screen lines with some fonts
* src/xdisp.c (get_phys_cursor_geometry): Adjust the height of the
cursor to avoid weird-looking hollow cursor with fonts that have
large ascent values for some glyphs. This avoids having the
hollow cursor start too low.
(append_space_for_newline): Adjust the ascent value of the newline
glyph, so that the hollow cursor at end of line displays
correctly.
(FONT_TOO_HIGH): New macro.
(x_produce_glyphs): Use it to detect fonts that claim a
preposterously large height, in which case we use per-glyph ascent
and descent values. (Bug#20628)
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions