diff options
| author | Kenichi Handa | 2006-07-03 00:52:16 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-07-03 00:52:16 +0000 |
| commit | 8bf90572355106ff6eb5eebaf3be4b0a6203131c (patch) | |
| tree | de96bc92688dc9c6d13a45b0bd83632059aced7b /src | |
| parent | a85f724a85e078f098dc41a9cda09036e4a5c6f0 (diff) | |
| download | emacs-8bf90572355106ff6eb5eebaf3be4b0a6203131c.tar.gz emacs-8bf90572355106ff6eb5eebaf3be4b0a6203131c.zip | |
(xftfont_open): Set charset related members to -1.
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; |