diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index df99f9cad0d..0c2014b184f 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2866,8 +2866,13 @@ x_draw_glyph_string (s) | |||
| 2866 | 2866 | ||
| 2867 | #ifdef USE_FONT_BACKEND | 2867 | #ifdef USE_FONT_BACKEND |
| 2868 | if (enable_font_backend) | 2868 | if (enable_font_backend) |
| 2869 | /* In the future, we must use information of font. */ | 2869 | { |
| 2870 | y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2; | 2870 | if (s->face->font) |
| 2871 | /* In the future, we must use information of font. */ | ||
| 2872 | y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2; | ||
| 2873 | else | ||
| 2874 | y = s->y + s->height - h; | ||
| 2875 | } | ||
| 2871 | else | 2876 | else |
| 2872 | #endif | 2877 | #endif |
| 2873 | if (x_use_underline_position_properties | 2878 | if (x_use_underline_position_properties |