From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Emacs master: different (ugly) font in org-mode Date: Sat, 2 Oct 2021 11:08:49 +0200 (CEST) Message-ID: <1285055140.387752.1633165729633@mail1.libero.it> References: <1758826875.387473.1633124447794@mail1.libero.it> <87a6jsqbhq.fsf@protesilaos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34228"; mail-complaints-to="usenet@ciao.gmane.io" To: Protesilaos Stavrou , "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 02 11:10:09 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 1mWb20-0008jG-SU for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 11:10:08 +0200 Original-Received: from localhost ([::1]:42430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWb1z-0004vM-Fx for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 05:10:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWb0p-00043B-CH for emacs-devel@gnu.org; Sat, 02 Oct 2021 05:08:55 -0400 Original-Received: from smtp-17-i2.italiaonline.it ([213.209.12.17]:38973 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWb0n-0006py-2O for emacs-devel@gnu.org; Sat, 02 Oct 2021 05:08:54 -0400 Original-Received: from oxapps-36-166.iol.local ([10.101.8.212]) by smtp-17.iol.local with ESMTPA id Wb0jmlqDhUpwUWb0jmI2x6; Sat, 02 Oct 2021 11:08:49 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1633165729; bh=pGfYvbEWfJXOz9AEjjvfe7b1loKntd6bT8Eao7fz/f8=; h=From; b=CvTte7oKwHdFRzjXJ9wP+f0KiuQQJ2fKJ1/FMjASeAn/s2v/VntzWi6nBXymhKANF 3fUEgawD5XKkzCW6JGD3Hpq2nw+7xfxODLEOzigVpEMiOmbkskIzElWRuqVx9lYa1F Pw0dD6j2lE5QTdxNfDd4C1pOzemWqmJyWFlZBU4NZoZ3XG/fYcr3xUynNStzfdR5Ko Bc1LvclRABriNNZWzu2AfMpFeD9Z7WeLtNzckLdpM8CCrKrjOVgC7/dEqZNRbc2tBs w5Zgrc8Ecde9HY5dkY5lLMowjhtSxXjSQoMx3Zsp7sBl/MjF9bfyM4ifkdJJ5+HxUF 3JuMCQBJ7OksA== X-CNFS-Analysis: v=2.4 cv=MJylJOVl c=1 sm=1 tr=0 ts=615821a1 cx=a_exe a=O9Hx0JJ5bxzR3qMvw9bCOg==:117 a=rxdHNz8WOFgA:10 a=IkcTkHD0fZMA:10 a=x7sbE_CI24cA:10 a=nNhmeFpphkQ1JQA_9KEA:9 a=QEXdDO2ut3YA:10 In-Reply-To: <87a6jsqbhq.fsf@protesilaos.com> X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.3-Rev34 X-Originating-IP: 79.41.61.52 X-Originating-Client: open-xchange-appsuite x-libjamsun: oxuHXY0nbx/r+72l3IYRSGmIFxA3MIqv x-libjamv: kZg6RPJOKy4= X-CMAE-Envelope: MS4xfO6t6pF4V9D59NgyHf9qfkK+/f7DM5EhZimYu4VAsTe9Gwc9DFlRD7NvqNASsrf7Gm/gSirR3UeNUlzf4TM7HSNiWoNaups+H2F9HdRRo2JimGIndm58 EyIh9dzvU05hFBo/SoLY/Ang+wYRBuHreny57URROk+3sMDqEpuJg3G6vVD9q5vqy3G0eJKkzUlt7nUauJnvPLwMhmJj7c9H9i3lXYVoY0jdH1J+We5qdnQI Received-SPF: pass client-ip=213.209.12.17; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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:276058 Archived-At: > Il 02/10/2021 06:47 Protesilaos Stavrou ha scritto: > > > On 2021-10-01, 23:40 +0200, Angelo Graziosi wrote: > > > I use JetBrains Mono font in Emacs and in today build from master, the > > Org documents display a different ugly (in my opinion) font. See the > > fields > > > > #+language: > > #+options: toc:2 H:3 num:2 email:t > > #+include: > > > > #+begin_quote > > #+end_quote > > > > in test.org-emacs29-01oct2021.png attached. > > > > With the build I did a month ago *all* is rendered with the same font, > > just the color changes. See the attached > > test.org-emacs28-02sep2021.png. > > > > If this is not a bug, How can I restore the previous behavior? > > > > In my init file I have: > > > > (set-frame-font "JetBrains Mono-11" nil t) > > > > (setq default-frame-alist > > '( > > (width . 115) ; character > > (height . 49) ; lines > > ;;(fullscreen . fullheight) > > ;;(left . (- 0)); pixel > > ;;(top . (+ 0)); pixel > > (left . 840); pixel > > (top . 0); pixel > > (font . "JetBrains Mono-11") ; font > > )) > > Hello Angelo, > > This must be because in Org 9.5 those constructs inherit from the > 'variable-pitch' face. The idea behind that is to make the buffer > preserve spacing sensitive elements while using M-x variable-pitch-mode. > > Please try using something like this: > > (set-face-attribute 'fixed-pitch nil > :family (face-attribute 'default :family) > :height (face-attribute 'default :height)) > Thanks, that seems to work! Ciao, Angelo.