(x_draw_glyph_string): Be sure to update

s->underline_thickness and s->underline_position.
This commit is contained in:
Kenichi Handa 2008-05-23 04:43:48 +00:00
parent cc4a96c680
commit 71b7654711
2 changed files with 4 additions and 4 deletions

View file

@ -2908,9 +2908,9 @@ x_draw_glyph_string (s)
else if (s->font)
position = (s->font->descent + 1) / 2;
}
s->underline_thickness = thickness;
s->underline_position =position;
}
s->underline_thickness = thickness;
s->underline_position =position;
y = s->ybase + position;
if (s->face->underline_defaulted_p)
{

View file

@ -2742,9 +2742,9 @@ x_draw_glyph_string (s)
else if (s->font)
position = (s->font->descent + 1) / 2;
}
s->underline_thickness = thickness;
s->underline_position = position;
}
s->underline_thickness = thickness;
s->underline_position = position;
y = s->ybase + position;
if (s->face->underline_defaulted_p)
XFillRectangle (s->display, s->window, s->gc,