diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xftfont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xftfont.c b/src/xftfont.c index 4d9d527a641..d896e6967e9 100644 --- a/src/xftfont.c +++ b/src/xftfont.c | |||
| @@ -261,6 +261,7 @@ xftfont_open (f, entity, pixel_size) | |||
| 261 | font->font.full_name = font->font.name = name; | 261 | font->font.full_name = font->font.name = name; |
| 262 | font->file_name = (char *) file; | 262 | font->file_name = (char *) file; |
| 263 | font->font.size = xftfont->max_advance_width; | 263 | font->font.size = xftfont->max_advance_width; |
| 264 | font->font.charset = font->encoding_charset = font->repertory_charset = -1; | ||
| 264 | font->ascent = xftfont->ascent; | 265 | font->ascent = xftfont->ascent; |
| 265 | font->descent = xftfont->descent; | 266 | font->descent = xftfont->descent; |
| 266 | font->font.height = xftfont->ascent + xftfont->descent; | 267 | font->font.height = xftfont->ascent + xftfont->descent; |