knowing the line's height; use the default font's height in that
case.
2000-11-16 Gerd Moellmann <gerd@gnu.org>
+ * xdisp.c (pos_visible_p): Handle case that we reach ZV without
+ knowing the line's height; use the default font's height in that
+ case.
+
* xfaces.c (weight_table): Add `demi' with the same meaning as
`demibold'.
{
if (last_height)
line_height = last_height;
- else
+ else if (charpos < ZV)
{
move_it_by_lines (&it, 1, 1);
line_height = (it.max_ascent || it.max_descent
? it.max_ascent + it.max_descent
: last_height);
}
+ else
+ line_height = FONT_HEIGHT (FRAME_FONT (XFRAME (w->frame)));
}
line_bottom_y = line_top_y + line_height;