Commit 85bdc6d2 authored by Chong Yidong's avatar Chong Yidong
Browse files

(x_draw_glyph_string): For stretch glyphs, don't call

x_draw_glyph_string_background.
parent fb098a4b
......@@ -2248,7 +2248,10 @@ x_draw_glyph_string (s)
{
x_set_glyph_string_gc (next);
x_set_glyph_string_clipping (next);
x_draw_glyph_string_background (next, 1);
if (next->first_glyph->type == STRETCH_GLYPH)
x_draw_stretch_glyph_string (next);
else
x_draw_glyph_string_background (next, 1);
next->num_clips = 0;
}
}
......
......@@ -2660,7 +2660,10 @@ x_draw_glyph_string (s)
{
x_set_glyph_string_gc (next);
x_set_glyph_string_clipping (next);
x_draw_glyph_string_background (next, 1);
if (next->first_glyph->type == STRETCH_GLYPH)
x_draw_stretch_glyph_string (next);
else
x_draw_glyph_string_background (next, 1);
next->num_clips = 0;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment