[Top][All Lists]

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

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

From: Lars Ingebrigtsen
Subject: Re: set-fontset-font do not work again.
Date: Tue, 09 Nov 2021 04:22:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuan Fu <casouri@gmail.com> writes:

>> (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?

Could this possibly have something to do with:

commit 65fd3ca84f75aee0dfebb87fa793dae57c1caf35
Author:     Lars Ingebrigtsen <larsi@gnus.org>
AuthorDate: Thu Oct 21 04:30:02 2021 +0200

    Support the "medium" font weight

This entailed tweaking the font weight mapping tables a bit, so perhaps
it's having unintended consequences on this particular font?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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