From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67810: 29.1; fonts use synthetic bold on Linux / pgtk Date: Thu, 14 Dec 2023 19:26:43 +0800 Message-ID: <87h6klja8c.fsf@yahoo.com> References: <0719018bb386e840efaa655b7c0b765ece9cd9ff.camel@timruffing.de> <83le9ys2d3.fsf@gnu.org> <3ebaf489f6dad748258c7fb01d3200b674ebb1f1.camel@timruffing.de> <83h6kmrzkz.fsf@gnu.org> <7ea3f7db448191f2b9886604084abe84d0caaf61.camel@timruffing.de> <83y1dxqm46.fsf@gnu.org> <83le9xqewb.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23942"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Tim Ruffing , 67810@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 13:08:30 2023 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 1rDkVx-0005xl-IU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 13:08:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDkVo-0002W9-3k; Thu, 14 Dec 2023 07:08:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDkVa-0002VU-Ez for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 07:08:08 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rDkVX-00019B-8w for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 07:08:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDkVW-0000LH-Dw for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 07:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2023 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67810 X-GNU-PR-Package: emacs Original-Received: via spool by 67810-submit@debbugs.gnu.org id=B67810.17025556321253 (code B ref 67810); Thu, 14 Dec 2023 12:08:02 +0000 Original-Received: (at 67810) by debbugs.gnu.org; 14 Dec 2023 12:07:12 +0000 Original-Received: from localhost ([127.0.0.1]:48721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDkUi-0000K8-6f for submit@debbugs.gnu.org; Thu, 14 Dec 2023 07:07:12 -0500 Original-Received: from sonic316-20.consmr.mail.ne1.yahoo.com ([66.163.187.146]:40469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDkUe-0000Jr-Dt for 67810@debbugs.gnu.org; Thu, 14 Dec 2023 07:07:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1702555623; bh=8D4HnP6TRHljIrHR3pmSxZHgB861efJrxMQWrqDHZcw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=f74faCPlkPAteRStMCbE3Fhhz66gyC3capB2BhuL8PwbqMGNtzbzAbnDfybhTpQXN8xgcsZSDv9w1ctL/xHOCO7Topu+OBwPtb3NGFnny+YR0D5RCG5Pe37HJf9wFdrupX+LVpuHN/iTu8AIxEryNURyFKQmALfdlAzA8Qg73BLjIiUM9tSvC2qlcLTvoxwweYk23Qtsx7dQs0DNfeMArcHIWHyLmXgft8YLb7r0LsHVSysMk0+VvmaRc9MRAtm2ZhDEXeMN0cSjCzgQulSFO2l2Q5DNHYuP1zzUeEqekhmgzLF70i9j560DBpfTbeUgEvBdbNNC75dl79cRGQ+Jjg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1702555623; bh=Z2CAt6Or26WL3CE+An4setMwBvdmqdN6F1WVlvK9LhP=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=V+Gm8gvBVnc0yZ12YOljNLEvIFjR/66oCrgY7inwSuvS8idf9oFybLdmStz84W1dfLjx1nvhdB/dMtFdXHsJTzCKQ6/N7hsGNSljdjIWapS2v9E0eRXpCkkngKD8sCT3QZPD3oflFQE8d2OiHgvjPyOKzAdn3qC5RLrT/SHTF+HTbs8C7qL+eHE+94990YWNnETv0AP78e1PQVm7NdxFldV57Qi42UHUc5OMT/V+S5Eo39kxc3Cd/AXU27vc1ZcY+6LRPHfZ2w9fcXsR60AbUiUtvZDKx1V77SB5gjttQvXU8d3WXlkHxXeyzh000kE6fx6BPNPPvEdbNB+zhLZxPA== X-YMail-OSG: Myj0oYMVM1mOGgY1T6ClhIHvZnOA87xG.PxMl3kq459ipUj0ukaKAjzJ.omGfum Xheiox7v2cxhom7ur3mqhdJh_3nLGAcL_UhkVyTke1fnh_A8jI0TMAfGPvcfAjYn9mn0KmuprEIn H3Cmen2tufzvx.JvNN5suI1eTD8zKECB8yu9xR91Cwy53J_Zns_5CEzPOMhJe9ldTRfJGa4u7Mkj tAW1QGM4X.68xff2MYdKXB_vlxGftFqsWpWiA1E8dXskNGYODiSh2ZLZtl2uyRGtfRyE3xaKxWtt wxWwPOYGd4iCgQJY4SeuwbhSyawLbKXMXmjrtIVFpz9oXpV3cfS6_MGzMyPCy10tq69YcB9AIU8J Cr_x6M8xmiRSMg152Tmo8xaCZwqKMFgpV2BiEGnOJx1meBdrEOni4.uBy.sVG5mLcQdy24z2OhzT Y5zynlnjgSjy3iSMacteNF77WEMY2540JmtV383FDXdqEz57gYTUI8HIrUdrJMVrg6E69au27Ww7 Map3vAW817IWsMvai3rS06NB4u.tKymPYh6sj7f0SUm5DaCq0AA26blXlX5AhjbJbOjsMW.BBIxc C2899ygnBYiB5LUK7WvNkHuH2gvMipkusPu2p6nhc_rneW0t3gIPpOQHeuK_iQy6C_08h_v6OPFY .8.zzX.jU5Yp4INDkl83v.qUzRTdFZghT9eHdeJGBKF5wXcAKDId9k3sFy91UCBWHKtgROb_y_._ MBDZmKZ.GocNVjZ.vuA4zbr99Jumf4Zziw4cMEOCuAhqWj_uDlQ6X8SwyKDyajAMPk4fi7ZT0gaH 4xDobq29X24jUcqrpH5e1B2hiIk4kpX7HVmX.7yKvl X-Sonic-MF: X-Sonic-ID: 7cbed593-652c-4b1e-9a1a-1d6a0c749e2a Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Dec 2023 12:07:03 +0000 Original-Received: by hermes--production-sg3-65d57d948b-bq97j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 23a182cad4eb1f968b33fd7d201f0242; Thu, 14 Dec 2023 11:26:49 +0000 (UTC) In-Reply-To: <83le9xqewb.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Dec 2023 12:04:04 +0200") X-Mailer: WebService/1.1.21952 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276184 Archived-At: Eli Zaretskii writes: >> From: Tim Ruffing >> Cc: 67810@debbugs.gnu.org >> Date: Thu, 14 Dec 2023 10:54:45 +0100 >> >> So I think whether overstriking is performed should ideally be a >> property of the font. Having some variable similar to the existing >> vertical-centering-font-regexp would be great, and this would also make >> it possible to turn off overstriking globally. >> >> Do you think that's a reasonable thing to add? The only existing variable which controls font display through matching fonts against a regexp has been effectively abandoned over the years, and is nonfunctional on all systems besides X and Android. (Grep for Vvertical_centering_font_regexp: only sfntfont.c and xfont.c consult it.) A compelling reason for us _not_ to introduce more such variables, as they will soon fall into disuse and neglect. > What are the chances of someone wanting to disable this feature only > for some fonts? If we want to allow disabling it globally, it should > be a simple matter of adding a boolean variable exposed to Lisp, and > then performing this only when the variable doesn't inhibit that. > > Adding a font property, or a regexp for matching fonts which are > exempt from this, are by contrast much more complex and require more > changes. For a feature that was so far requested by a single user, > I'm not sure this is justified. > > As for your example: if Doom uses this for icons, why cannot Doom > refrain from using bold face for these cases? Yes, and don't these packages require using their own specialized icon fonts to begin with?