aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorEli Zaretskii2015-05-27 17:56:16 +0300
committerEli Zaretskii2015-05-27 17:56:16 +0300
commit1d87cb3cfa08086be96f78ab09d99f3e7ba8ca60 (patch)
treead88f33f5e597e144625d017207353cfb1c16a42 /src/coding.c
parent171981622f072546aed135668e53fdeb7b012631 (diff)
downloademacs-1d87cb3cfa08086be96f78ab09d99f3e7ba8ca60.tar.gz
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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions