emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: set-fontset-font do not work again.
Date: Tue, 09 Nov 2021 14:36:15 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: tumashu <tumashu@163.com>,  Eli Zaretskii <eliz@gnu.org>,
>   "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Tue, 09 Nov 2021 04:22:29 +0100
> 
> 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?

You touched slant values as well?  I don't see any change in contents
of font-slant-table, FWIW.



reply via email to

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