[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: |
Tue, 9 Nov 2021 08:39:36 +0800 (CST) |
At 2021-11-08 20:59:50, "Eli Zaretskii" <eliz@gnu.org> wrote:
>> Date: Mon, 8 Nov 2021 11:33:06 +0800 (CST)
>> From: tumashu <tumashu@163.com>
>> Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
>>
>> >> (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.
>
>You are saying it worked in Emacs 28, but doesn't work in Emacs 29?
yes
>
>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
>if you try this instead:
>
> (dolist (charset '(kana han symbol cjk-misc bopomofo))
> (set-fontset-font t charset "Microsoft Yahei"))
This work.
- set-fontset-font do not work again., tumashu, 2021/11/07
- Re: set-fontset-font do not work again., Eli Zaretskii, 2021/11/07
- Re:Re: set-fontset-font do not work again., tumashu, 2021/11/07
- Re: set-fontset-font do not work again., Eli Zaretskii, 2021/11/08
- Re:Re: set-fontset-font do not work again.,
tumashu <=
- Re: set-fontset-font do not work again., Yuan Fu, 2021/11/08
- Re: set-fontset-font do not work again., Lars Ingebrigtsen, 2021/11/08
- Re:Re: set-fontset-font do not work again., tumashu, 2021/11/09
- Re: set-fontset-font do not work again., Lars Ingebrigtsen, 2021/11/09
- Re: set-fontset-font do not work again., Eli Zaretskii, 2021/11/09
- Re: set-fontset-font do not work again., Lars Ingebrigtsen, 2021/11/09
- Re: set-fontset-font do not work again., Eli Zaretskii, 2021/11/09