From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: tumashu@163.com, casouri@gmail.com, emacs-devel@gnu.org
Subject: Re: set-fontset-font do not work again.
Date: Tue, 09 Nov 2021 14:36:15 +0200 [thread overview]
Message-ID: <83o86t5ww0.fsf@gnu.org> (raw)
In-Reply-To: <87k0hiui6i.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 09 Nov 2021 04:22:29 +0100)
> 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.
next prev parent reply other threads:[~2021-11-09 12:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 2:06 set-fontset-font do not work again tumashu
2021-11-08 3:30 ` Eli Zaretskii
2021-11-08 3:33 ` tumashu
2021-11-08 12:59 ` Eli Zaretskii
2021-11-09 0:39 ` tumashu
2021-11-09 3:12 ` Yuan Fu
2021-11-09 3:22 ` Lars Ingebrigtsen
2021-11-09 5:35 ` tumashu
2021-11-09 6:28 ` Lars Ingebrigtsen
2021-11-09 12:36 ` Eli Zaretskii [this message]
2021-11-09 23:40 ` Lars Ingebrigtsen
2021-11-09 12:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83o86t5ww0.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=casouri@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=tumashu@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.