Mercurial > emacs
comparison src/xterm.c @ 24223:c7888c86b9e1
(x_new_fontset): For ASCII font, don't use the font name
returned by x_new_font (the resolved one) but use the font name
set in the fontset specification.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 30 Jan 1999 01:46:35 +0000 |
parents | 1f8d4cb55bd6 |
children | 4001ff593a99 |
comparison
equal
deleted
inserted
replaced
24222:8b2cecc76fe3 | 24223:c7888c86b9e1 |
---|---|
5430 return Qnil; | 5430 return Qnil; |
5431 | 5431 |
5432 /* Since x_new_font doesn't update any fontset information, do it now. */ | 5432 /* Since x_new_font doesn't update any fontset information, do it now. */ |
5433 f->output_data.x->fontset = fontset; | 5433 f->output_data.x->fontset = fontset; |
5434 FS_LOAD_FONT (f, FRAME_X_FONT_TABLE (f), | 5434 FS_LOAD_FONT (f, FRAME_X_FONT_TABLE (f), |
5435 CHARSET_ASCII, XSTRING (result)->data, fontset); | 5435 CHARSET_ASCII, fontsetp->fontname[CHARSET_ASCII], fontset); |
5436 | 5436 |
5437 return build_string (fontsetname); | 5437 return build_string (fontsetname); |
5438 } | 5438 } |
5439 | 5439 |
5440 /* Calculate the absolute position in frame F | 5440 /* Calculate the absolute position in frame F |