unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: tumashu  <tumashu@163.com>
To: "Lars Ingebrigtsen" <larsi@gnus.org>
Cc: "51704@debbugs.gnu.org" <51704@debbugs.gnu.org>
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:33:36 +0800 (CST)	[thread overview]
Message-ID: <75463a5a.4d43.17d1347db73.Coremail.tumashu@163.com> (raw)
In-Reply-To: <87v90xu6i1.fsf@gnus.org>

















At 2021-11-12 16:23:50, "Lars Ingebrigtsen" <larsi@gnus.org> wrote:
>tumashu  <tumashu@163.com> writes:
>
>>>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
>
>But did the change fix the problem you were seeing?

yes


Maybe the real reason I use :weight 'normal or :weight :media is that
without two, the below code sometimes will select bold weight, I do not know why.

(progn
  (set-face-attribute
   'default nil
   :font (font-spec :name "PragmataPro"
                    :size 14.0))
  (dolist (charset '(kana han symbol cjk-misc bopomofo))
    (set-fontset-font
     t
     charset
     (font-spec :name "黑体"
                :size 14.0))))








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

  reply	other threads:[~2021-11-12  8:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09  6:44 bug#51704: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec tumashu
2021-11-09  7:08 ` Lars Ingebrigtsen
2021-11-09  7:29   ` bug#51704: " tumashu
2021-11-09  7:33     ` Lars Ingebrigtsen
2021-11-09  7:45       ` tumashu
2021-11-09 12:57       ` Eli Zaretskii
2021-11-09 23:45         ` Lars Ingebrigtsen
2021-11-10 18:22           ` Eli Zaretskii
2021-11-10 22:45             ` tumashu
2021-11-12  6:35 ` Lars Ingebrigtsen
2021-11-12  8:21   ` tumashu
2021-11-12  8:23     ` Lars Ingebrigtsen
2021-11-12  8:33       ` tumashu [this message]
2021-11-12  8:46         ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75463a5a.4d43.17d1347db73.Coremail.tumashu@163.com \
    --to=tumashu@163.com \
    --cc=51704@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).