From 88baab62c5b40183a678a5c78ded98c50a35b12b Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 3 Dec 2008 04:10:37 +0000 Subject: [PATCH] (x_draw_glyph_string): Fall back on underline_minimum_offset for undlerline position. --- src/xterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 4d74910fec7..54833eef366 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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); } -- 2.39.2