bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'norm


From: tumashu
Subject: bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec
Date: Fri, 12 Nov 2021 16:21:58 +0800 (CST)
















在 2021-11-12 14:35:08,"Lars Ingebrigtsen" <larsi@gnus.org> 写道:
>tumashu <tumashu@163.com> writes:
>
>> The below code does not work.
>>
>> ;; 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 20)))
>>
>> when I remove :weight 'normal, it works again, I have tested, it relate
>> to commit:
>
>I've now fixed up another bug in this area -- could you build Emacs
>again (from master) and check whether it fixes this issue, too?  (I'd
>say it's a 50/50 chance.  )

In my opinion, I do not care regular or Medium, and I just want to one of them,
maybe Regular is more common than medium


fc-list |grep Regular| wc -l
333

fc-list |grep Medium| wc -l
9


By the way, Regular  mean 'normal in emacs ?

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