From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67810: 29.1; fonts use synthetic bold on Linux / pgtk Date: Thu, 14 Dec 2023 13:19:38 +0200 Message-ID: <83h6klqbed.fsf@gnu.org> 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> <5dbb7cf5016f045ad9183ef30fb57f3e610f9af6.camel@timruffing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 67810@debbugs.gnu.org To: Tim Ruffing Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 13:24:37 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 1rDklY-0006jn-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 13:24:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDkl4-0004mj-9X; Thu, 14 Dec 2023 07:24:06 -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 1rDkl2-0004ls-9f for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 07:24:04 -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 1rDkl1-0000Hc-3u for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 07:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rDkl0-0000nA-9n for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 07:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2023 12:24: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.17025566192977 (code B ref 67810); Thu, 14 Dec 2023 12:24:02 +0000 Original-Received: (at 67810) by debbugs.gnu.org; 14 Dec 2023 12:23:39 +0000 Original-Received: from localhost ([127.0.0.1]:48743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDkkd-0000lu-3x for submit@debbugs.gnu.org; Thu, 14 Dec 2023 07:23:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rDkkX-0000l6-GV for 67810@debbugs.gnu.org; Thu, 14 Dec 2023 07:23:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDjki-0004u5-L8; Thu, 14 Dec 2023 06:19:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=aHuv+Zo8d1erCu0C5NvbDlcjogBoDwY5XEwQwJ611xI=; b=NXMc/jOjBMOwa8G5gvhK 7y6UFjkZSYmW45yFPEBV3y9nnFWmDeZyReKNE5kqslriFMecutJmSjsd0JMKiEO58fGdcYt22wm9I egZWc4m83ErE0QerOqHVzuhhhL7x40Aj9oJu3Ka3EWwapUdH05j0YHA0PZEZdVZYvI1UFMWgPsTS5 OmHhLrp35b2pLMO+EscIFvAP067xtOB9IPcWC/OFJtHaHTlQQ6gU04fgCCw+KnCW1n6a7Icb0R6wu 94iy1RM4g5mljW4kb35wZZEb57NpDE+/t2qT8PLzvRSvTElmhdaYfTIZ2dexo+OIwu5ZKo9nPKkto xOZqgPEauCOXVg==; In-Reply-To: <5dbb7cf5016f045ad9183ef30fb57f3e610f9af6.camel@timruffing.de> (message from Tim Ruffing on Thu, 14 Dec 2023 11:37:15 +0100) 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:276187 Archived-At: > From: Tim Ruffing > Cc: luangruo@yahoo.com, 67810@debbugs.gnu.org > Date: Thu, 14 Dec 2023 11:37:15 +0100 > > > As for your example: if Doom uses this for icons, why cannot Doom > > refrain from using bold face for these cases? > > That's of course possible, and this could even be integrated in > packages like nerd-fonts and all-the-icons. But as I said in my > previous email, I think this solves only part of the problem. Setting > the face works when there is existing code for inserting icons (e.g., > file type icons in dired), because that code can then take care of > setting the face.  > > But it doesn't work in cases when the user simply wants to insert icons > in their buffers: For example, if the user inserts an icon in a bold > org headline, it seems to me like the wrong approach to change the face > on the fly. One can always insert an icon with the likes of (propertize "ICON" 'face '(:weight medium))