Commit 88baab62 authored by Chong Yidong's avatar Chong Yidong
Browse files

(x_draw_glyph_string): Fall back on underline_minimum_offset for

undlerline position.
parent 1e5ecd37
......@@ -2765,6 +2765,8 @@ x_draw_glyph_string (s)
position = s->font->underline_position;
else if (s->font)
position = (s->font->descent + 1) / 2;
else
position = underline_minimum_offset;
}
position = max (position, underline_minimum_offset);
}
......
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