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: Lars Ingebrigtsen
Subject: bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec
Date: Tue, 09 Nov 2021 08:08:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

tumashu <tumashu@163.com> writes:

> ;; 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)))

Does `medium' work instead?

Previously, Emacs put `normal' at a 100 weight as a synonym with
`medium', and that was not according to spec.  `normal' is now at 80,
and `medium' is at 100.

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