NS equivalents of xterm.c and w32term.c changes
commit957cbfd7650e6ebd1afc62daeb5f6923730112c9
authorEli Zaretskii <eliz@gnu.org>
Mon, 1 Jun 2015 14:46:20 +0000 (1 17:46 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 1 Jun 2015 14:46:20 +0000 (1 17:46 +0300)
treefc0beeea9a8b8759cc4974b960458af0a3b011ff
parentcab645a62f3e5963ee7da94eb9c33961601c6651
NS equivalents of xterm.c and w32term.c changes

* src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
glyph string background also when the font in use claims
preposterously large global height value.  Helps to remove
artifacts left from previous displays when glyphless characters
are displayed as hex code in a box.
(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/nsterm.m