From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.devel Subject: Re: Emacs master: different (ugly) font in org-mode [Windows, macOS] Date: Wed, 06 Oct 2021 15:09:53 +0300 Message-ID: <87pmsiicby.fsf@protesilaos.com> References: <1758826875.387473.1633124447794@mail1.libero.it> <87a6jsqbhq.fsf@protesilaos.com> <1048176278.452440.1633374684696@mail1.libero.it> <87sfxgr320.fsf@protesilaos.com> <83sfxf4rs2.fsf@gnu.org> <1638550012.538.1633441275953@mail1.libero.it> <83a6jn4gpq.fsf@gnu.org> <1553192207.19756.1633463102315@mail1.libero.it> <83r1cy2x2q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21840"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.33.2 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel@gnu.org To: Eli Zaretskii , Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 06 14:11:45 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mY5lx-0005TE-1V for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Oct 2021 14:11:45 +0200 Original-Received: from localhost ([::1]:58686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY5lw-0006BB-1y for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Oct 2021 08:11:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5kI-0005Ey-IA for emacs-devel@gnu.org; Wed, 06 Oct 2021 08:10:03 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:34555) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5kF-00015B-RP; Wed, 06 Oct 2021 08:10:02 -0400 Original-Received: (Authenticated sender: public@protesilaos.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 2C27F20005; Wed, 6 Oct 2021 12:09:54 +0000 (UTC) In-Reply-To: <83r1cy2x2q.fsf@gnu.org> Received-SPF: none client-ip=217.70.183.200; envelope-from=info@protesilaos.com; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:276425 Archived-At: On 2021-10-06, 14:48 +0300, Eli Zaretskii wrote: >> Date: Tue, 5 Oct 2021 21:45:02 +0200 (CEST) >> From: Angelo Graziosi >> Cc: info@protesilaos.com, emacs-devel@gnu.org >> >> Have you see the screenshots attached here: https://lists.gnu.org/archive/html/emacs-devel/2021-10/msg00064.html? >> >> In my opinion Courier is very ugly... > > Well, "ugly" is a subjective opinion. It's okay not to like it, but > it isn't necessarily a good reason to call for any changes in the > defaults. (I'm aware that it wasn't you who suggested the change.) > Making fixed-pitch use the same font as the default font basically > does away with fixed-pitch as a distinct face. That makes little > sense to me. AFAIR, Courier was chosen to make sure the face will be > usable on all Windows versions. We tried to use other alternative > fonts that are always present on Windows systems, but they all had > problems. On every GNU/Linux distro I have checked, the "Monospace" label is an alias for a fallback font family controlled by the fontconfig library. This usually ends up being "DejaVu Sans Mono". Desktop Environments (e.g. Xfce) should be able to change the default fonts through their settings. Otherwise the user can set up fontconfig rules directly. I was the one who entertained the idea of a change to 'fixed-pitch', though I wasn't aware that the "Monospace" font alias would work on Windows/Mac. Since it does, no change is required. It is up to the user to edit their system's default fonts. For Emacs-specific configurations, it is possible to set the ':family' attribute of the 'default', 'fixed-pitch', 'variable-pitch' faces, such as in the example I shared in the original reply to this thread. -- Protesilaos Stavrou https://protesilaos.com