From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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:33:04 +0100 Message-ID: <87tuglokb3.fsf@gnus.org> References: <54b63b0b.37ad.17d03710b0b.Coremail.tumashu@163.com> <87a6idq00p.fsf@gnus.org> <1374ad7e.4032.17d0399bbc1.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32782"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51704@debbugs.gnu.org To: tumashu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 09 08:37:06 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkLgo-0008MJ-3d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 08:37:06 +0100 Original-Received: from localhost ([::1]:58172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkLgm-00080K-7z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 02:37:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkLds-0004vH-0p for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 02:34:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkLdq-0001rk-Ed for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 02:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkLdq-0000Ft-Bi for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 02:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Nov 2021 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51704 X-GNU-PR-Package: emacs Original-Received: via spool by 51704-submit@debbugs.gnu.org id=B51704.1636443205925 (code B ref 51704); Tue, 09 Nov 2021 07:34:02 +0000 Original-Received: (at 51704) by debbugs.gnu.org; 9 Nov 2021 07:33:25 +0000 Original-Received: from localhost ([127.0.0.1]:60649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkLdF-0000Eo-9F for submit@debbugs.gnu.org; Tue, 09 Nov 2021 02:33:25 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:56900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkLdC-0000ET-OV for 51704@debbugs.gnu.org; Tue, 09 Nov 2021 02:33:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uYNyRd/wKxg7Kb5yuV7tFmDFvoxt0N2I5t02PHOMN+A=; b=g2JS8XMpszkDIHAFRiP6aSJ8RY 3Uj8xCSBkirPRYkBAf0iIdhnIq/MHrmvMXAhRLrl48e7fcn0sYMMSSAOydjxm8wJIzDmGb3feA8kl 9Z9TrjkrO/+Ja4u86SEboI41ZDtN01yrZzoJ2IqQxhgX720JssuYwDxO38NxC99nsGAU=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkLcv-0001NX-G8; Tue, 09 Nov 2021 08:33:15 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXJyMayr7OWlKBX V2P28xr///9HRQ2EAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+ULCQQrHgvzNtwAAAG0SURBVDjLrZPr deQwCIWFtwHADRipgYzoYE/6r2kvV35McpJ/y5mxZX1CvFu7RMXMVM+vrb2JgJrhKVbrc88oahJc eN1B5H12SuI/C0isS2szYsFOUCqqVhRXrCvdsYsteCMqTeyUEKfReqjIZR+u2dZON8q9S0HpFZey vt6EQCsi+w5g25AOpdqjWBpCh+Xe1cqDNw/4yR9UgmoVz51E7AB5WHgxebIrfuCh1geve0v7HqUX e97ZvVSYLSGAPj/krVp7hsDJpx4MHu/McD+vKtfX22A7P+qUPxYq9CZb5utLH+hKraK0syokzRY5 Tq25ZyrbZx3c4mynHJnHA2yfKvQgIVPuQtmKl2HMnMjyfmugA2ox8gBoMp6Oseoqz/zY42iSdCWu giK8MbeM9ie/1Xpkz8gJmzeIar8OlyrEGASXEQ+HQskFgl1A7gR9zGZ3w+JAh3WCPphitADOR8cb YNSgDLaBEZh3wJzj5QSqZyRRg2P5Gq/uAOw7GudIGXKFeQKgM6UgNWHlVa+ACtTi0uBwcvVMMpLo lcX+qnT66o2ouULgYGNN7d4+f5a/v4HP/wj+AQY+Z1k/V1ZPAAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIxLTExLTA5VDA0OjQzOjMwKzAwOjAwYZISBgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0w OVQwNDo0MzoyOSswMDowMEn97/cAAAAASUVORK5CYII= X-Now-Playing: DJ Rupture's _Curiosity Slowdown_: "Curiosity Slowdown (part 3)" In-Reply-To: <1374ad7e.4032.17d0399bbc1.Coremail.tumashu@163.com> (tumashu@163.com's message of "Tue, 9 Nov 2021 15:29:06 +0800 (CST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219423 Archived-At: tumashu writes: > medium work. > > Does old emacs support 'medium? Yes, in older Emacsen, `medium' is an alias for `normal'. This was split up since the font spec allows two different font weights here (and `medium' is heavier than `normal'), and Emacs didn't have a way to choose the actual `normal' font. The problem is that if you have a font that doesn't have the now-lighter `normal' font, Emacs won't find the right spec. I'm not sure whether there's any way to make a fallback of some kind here work... I'm amending the text in etc/NEWS and moving it to the "incompatible" section, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no