emacs-devel
[Top][All Lists]
Advanced

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

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


From: tumashu
Subject: Re:Re: set-fontset-font do not work again.
Date: Mon, 8 Nov 2021 11:33:06 +0800 (CST)




在 2021-11-08 11:30:34,"Eli Zaretskii" <eliz@gnu.org> 写道:
>> Date: Mon, 8 Nov 2021 10:06:37 +0800 (CST)
>> From: tumashu <tumashu@163.com>
>> 
>> I have found that the below code does not work  in emacs-29 git, any 
>> suggestion? thanks.
>> 
>> ;; This is a test, 这是一个测试
>> (dolist (charset '(kana han symbol cjk-misc bopomofo))
>>   (set-fontset-font
>>    t
>>    charset
>>    (font-spec :name "Microsoft Yahei"
>>               :weight 'normal
>>               :slant 'normal
>>               :size 16)))
>
>"Does not work" in what sense?  What happens if you execute this code?

It will let Chinese use "Microsoft Yahei" font, but now it seem to do nothing.



reply via email to

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