aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4d017ed8fd0..ea6b07e64af 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-04-18 Gerd Moellmann <gerd@gnu.org>
2
3 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account
4 that the per-character metrics may be null.
5
12000-04-17 Gerd Moellmann <gerd@gnu.org> 62000-04-17 Gerd Moellmann <gerd@gnu.org>
2 7
3 * buffer.c (clone_per_buffer_values): New function. 8 * buffer.c (clone_per_buffer_values): New function.
diff --git a/src/xterm.c b/src/xterm.c
index b6714b84bee..f36e1e7761e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1,5 +1,5 @@
1/* X Communication module for terminals which understand the X protocol. 1/* X Communication module for terminals which understand the X protocol.
2 Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999 2 Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -1884,8 +1884,7 @@ x_produce_glyphs (it)
1884 /* If characters with lbearing or rbearing are displayed 1884 /* If characters with lbearing or rbearing are displayed
1885 in this line, record that fact in a flag of the 1885 in this line, record that fact in a flag of the
1886 glyph row. This is used to optimize X output code. */ 1886 glyph row. This is used to optimize X output code. */
1887 if (pcm->lbearing < 0 1887 if (pcm && (pcm->lbearing < 0 || pcm->rbearing > pcm->width))
1888 || pcm->rbearing > pcm->width)
1889 it->glyph_row->contains_overlapping_glyphs_p = 1; 1888 it->glyph_row->contains_overlapping_glyphs_p = 1;
1890 } 1889 }
1891 } 1890 }