aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 1e2a667330e..dd9036853ad 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20925,6 +20925,10 @@ x_produce_glyphs (it)
20925 if (pcm && (pcm->lbearing < 0 || pcm->rbearing > pcm->width)) 20925 if (pcm && (pcm->lbearing < 0 || pcm->rbearing > pcm->width))
20926 it->glyph_row->contains_overlapping_glyphs_p = 1; 20926 it->glyph_row->contains_overlapping_glyphs_p = 1;
20927 } 20927 }
20928 if (! stretched_p && it->pixel_width == 0)
20929 /* We assure that all visible glyphs have at least 1-pixel
20930 width. */
20931 it->pixel_width = 1;
20928 } 20932 }
20929 else if (it->char_to_display == '\n') 20933 else if (it->char_to_display == '\n')
20930 { 20934 {
@@ -21109,6 +21113,10 @@ x_produce_glyphs (it)
21109 21113
21110 if (it->glyph_row) 21114 if (it->glyph_row)
21111 append_glyph (it); 21115 append_glyph (it);
21116 if (it->pixel_width == 0)
21117 /* We assure that all visible glyphs have at least 1-pixel
21118 width. */
21119 it->pixel_width = 1;
21112 } 21120 }
21113 it->multibyte_p = saved_multibyte_p; 21121 it->multibyte_p = saved_multibyte_p;
21114 } 21122 }