+2000-11-17 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (pos_visible_p): Compute the default character height
+ differently.
+
2000-11-16 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (pos_visible_p): Handle case that we reach ZV without
? it.max_ascent + it.max_descent
: last_height);
}
- else
- line_height = FONT_HEIGHT (FRAME_FONT (XFRAME (w->frame)));
+ else
+ {
+ /* Use the default character height. */
+ it.what = IT_CHARACTER;
+ it.c = ' ';
+ it.len = 1;
+ PRODUCE_GLYPHS (&it);
+ line_height = it.ascent + it.descent;
+ }
}
line_bottom_y = line_top_y + line_height;