+2000-04-18 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account
+ that the per-character metrics may be null.
+
2000-04-17 Gerd Moellmann <gerd@gnu.org>
* buffer.c (clone_per_buffer_values): New function.
/* X Communication module for terminals which understand the X protocol.
- Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999
+ Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000
Free Software Foundation, Inc.
This file is part of GNU Emacs.
/* If characters with lbearing or rbearing are displayed
in this line, record that fact in a flag of the
glyph row. This is used to optimize X output code. */
- if (pcm->lbearing < 0
- || pcm->rbearing > pcm->width)
+ if (pcm && (pcm->lbearing < 0 || pcm->rbearing > pcm->width))
it->glyph_row->contains_overlapping_glyphs_p = 1;
}
}