From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#52493: 29.0.50; Setting Inconsolata up in init.el makes default face rendered wrong Date: Mon, 26 Dec 2022 14:05:53 +0000 Message-ID: References: <80e7f515-e16f-5ce8-86a3-e5f47cd2d2f5@yandex.ru> <83k0g5j4pi.fsf@gnu.org> <83a6h1husr.fsf@gnu.org> <83czlwhe0v.fsf@gnu.org> <835yrohcb1.fsf@gnu.org> <834k78h989.fsf@gnu.org> <83zgp0ftse.fsf@gnu.org> <83wnk4fpyw.fsf@gnu.org> <9df1ebce-83ff-068c-20ed-b849697a06b2@yandex.ru> <83y24jel7i.fsf@gnu.org> <87a6gz1xn1.fsf@gnus.org> <83lf0jeidi.fsf@gnu.org> <20be7df0-7ae6-8add-d083-45c9212c6dde@yandex.ru> <837cyjaor0.fsf@gnu.org> <57655e6c7f9f07a5f7f2@heytings.org> <83fsd22w6u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, larsi@gnus.org, 52493@debbugs.gnu.org, rpluim@gmail.com, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 26 15:07:34 2022 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 1p9o8b-0000PO-NH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Dec 2022 15:07:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9o7O-00012R-Um; Mon, 26 Dec 2022 09:06:19 -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 1p9o78-0000vK-Ge for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2022 09:06:14 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9o78-0008Sv-6S for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2022 09:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9o77-0003AL-MX for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2022 09:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Dec 2022 14:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52493 X-GNU-PR-Package: emacs Original-Received: via spool by 52493-submit@debbugs.gnu.org id=B52493.167206356012159 (code B ref 52493); Mon, 26 Dec 2022 14:06:01 +0000 Original-Received: (at 52493) by debbugs.gnu.org; 26 Dec 2022 14:06:00 +0000 Original-Received: from localhost ([127.0.0.1]:50966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9o76-0003A3-0c for submit@debbugs.gnu.org; Mon, 26 Dec 2022 09:06:00 -0500 Original-Received: from heytings.org ([95.142.160.155]:46216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9o71-00039p-8B for 52493@debbugs.gnu.org; Mon, 26 Dec 2022 09:05:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1672063554; bh=7Mbmya+Zajk6nVXpknYJWFH2g/cA34ivo4V9shwDTlQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=pmhWeTqmxYDW1w2mqqu7tX773Ve+fHUQW4nLtNmfmRBqCbYLjD32ZZ7f1+5BQm3az ZXejQyIGqpKcOjGZ91wL3rcQXBcv50cHuUFQqT69Z03hage+yacou0yfXlnZrv+3aQ Nn7shxF8hjV13RWc6zu0sBK8543gg/lrN0trprW4Nc5kmzPWZsEy1N1/jUzjvNuRoi dTxsl9ZrryTz3MK8bx9q85r09YG0a4k9PPRyeRZuaFI1HHQW3uI2i74CR68BCkcqbd RDt9qc0D0My90T7XrYWEY28N5wc2O+4DjOMZLRtuDhy3xPbj/C3ujhBm8LvNT8qdec NDoJcjC7iQVHQ== In-Reply-To: <83fsd22w6u.fsf@gnu.org> 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:251905 Archived-At: >> IME passing an font name in the :font attribute gives in general better >> results than passing a font name in the :family attribute. (And Dmitry >> confirmed that the problem he was facing was mostly solved with that >> change.) > > It is strange, because if the family is simply the name of the font, it > should be interpreted the same, because what else could family mean in > that case? > In theory, yes, but in practice the code paths are different in both cases. The :font attribute gets a special treatment in Finternal_set_lisp_face_attribute, which is more "direct" than the treatment of the :family attribute, and (again IME) gives better results.