emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-fontset-font do not work again.


From: Eli Zaretskii
Subject: Re: set-fontset-font do not work again.
Date: Tue, 09 Nov 2021 14:35:06 +0200

> From: Yuan Fu <casouri@gmail.com>
> Date: Mon, 8 Nov 2021 19:12:10 -0800
> Cc: Eli Zaretskii <eliz@gnu.org>,
>  "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> 
> 
> >> 
> >> Why are you using both :name and :weight/:slant/:size?  What happens
> > 
> > (dolist (charset '(kana han symbol cjk-misc bopomofo))
> >  (set-fontset-font
> >   t
> >   charset
> >   (font-spec :name "Microsoft Yahei"
> >              :slant 'normal
> >              :size 20)))
> > 
> > The above code  works,  so I think the problem is :   :weight ‘normal 
> 
> I usually use ‘regular, maybe ‘normal isn’t supported?

No, 'normal' is the documented value.  I think you confuse :slant with
:width or something.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]