(x_set_font): Call set_default_ascii_font if an
available font is found.
This commit is contained in:
parent
8f2e667359
commit
ee5d57b043
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,14 @@
|
|||
2005-03-08 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* frame.c (x_set_font): Call set_default_ascii_font if an
|
||||
available font is found.
|
||||
|
||||
* fontset.c (set_default_ascii_font): New function.
|
||||
(syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset)
|
||||
here.
|
||||
|
||||
* fontset.h (set_default_ascii_font): Extern it.
|
||||
|
||||
2005-03-07 Kim F. Storm <storm@cua.dk>
|
||||
|
||||
* xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const.
|
||||
|
|
|
@ -3084,6 +3084,7 @@ x_set_font (f, arg, oldval)
|
|||
error ("The characters of the given font have varying widths");
|
||||
else if (STRINGP (result))
|
||||
{
|
||||
set_default_ascii_font (result);
|
||||
if (STRINGP (fontset_name))
|
||||
{
|
||||
/* Fontset names are built from ASCII font names, so the
|
||||
|
|
Loading…
Add table
Reference in a new issue