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 [Windows, macOS] Date: Tue, 5 Oct 2021 21:45:02 +0200 (CEST) Message-ID: <1553192207.19756.1633463102315@mail1.libero.it> 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> 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="8619"; mail-complaints-to="usenet@ciao.gmane.io" Cc: info@protesilaos.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 05 21:47:25 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 1mXqPN-0001uq-Ah for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Oct 2021 21:47:25 +0200 Original-Received: from localhost ([::1]:34068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXqPM-0002zj-7M for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Oct 2021 15:47:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXqNA-0001Ii-LU for emacs-devel@gnu.org; Tue, 05 Oct 2021 15:45:08 -0400 Original-Received: from smtp-31-i2.italiaonline.it ([213.209.12.31]:49048 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 1mXqN8-0005it-8Z for emacs-devel@gnu.org; Tue, 05 Oct 2021 15:45:08 -0400 Original-Received: from oxapps-18-108.iol.local ([10.101.8.118]) by smtp-31.iol.local with ESMTPA id XqN4mGIX6otIiXqN4mSyiN; Tue, 05 Oct 2021 21:45:02 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1633463102; bh=9ZI/r9+1rjWa0YoVUfeQPezA+hy7aCtVYMy6DhyLpKY=; h=From; b=wC8rqpzPQlDGFf4RSiv+utGF788F3Ov+0GRX/91SNIknF7FVKmjaNgC7okeEOKOM/ HNiMyaC+3WqoOPWHam2Ucyf5KnD/x3mko5R8AXyFetXrqr0jH8R1HcOz0FqpUUQSxL uTXHyiCTsuU6MfGPQQZrP8U1JaWjChMYzgVIND4K6BU3ZFkkbOBZ6lb+wi/grefOXp hwEXY6ChTkPSqf6EuW4CWSMZqy04uoxyqs0tkbqSxwQLaX1Ux9Fjy4Ozq8QtkTgjSF 8qOVrysAZjxhB18o3Ci/XCCmsId4ByY+Pdl6avM8BfpdVzYwo7pvOhm3AxyKBn4Iet D88GF5MHW4npQ== X-CNFS-Analysis: v=2.4 cv=MLylJOVl c=1 sm=1 tr=0 ts=615cab3e cx=a_exe a=9CJNTcJco5JZdancTvp3XQ==:117 a=oamvNqO_vhwA:10 a=IkcTkHD0fZMA:10 a=0ZarNkb-B1wA:10 a=mDV3o1hIAAAA:8 a=X5SGAyjOqKt4GZ0O7T4A:9 a=QEXdDO2ut3YA:10 a=7P9m3zqxnMAA:10 a=YbueUgMl7eoA:10 a=_FVE-zBwftR9WsbkzFJk:22 In-Reply-To: <83a6jn4gpq.fsf@gnu.org> X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.3-Rev35 X-Originating-IP: 87.19.19.48 X-Originating-Client: open-xchange-appsuite x-libjamsun: Mv//dAtgyF7y01IthsSzEI1YQlkQuEJm x-libjamv: PRhroGX6ZSA= X-CMAE-Envelope: MS4xfHXJ19IHaJJe5PeJRDccfq68pn1+/7yI98wtV96eMUW2eSiJ8o9eZG9gulDblJ3o+ZVFyBxJb2BPrGMdqIOzW78vwq2Fx1IiNG1nB656p4pssEgAk2Oc vETpuUVk7r/YEuETKu9psQdqNFi/9o5faHhT34QjyP9nhUmrUwcnoQvZjzie3Pfh4TW/4pZzMpOAl1e9d7TKfgvA4zQIvyGpzcJApmGLENfYlR366v0X8X14 a3J+NNTT9aie3FFvTAmLYg== Received-SPF: pass client-ip=213.209.12.31; 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:276379 Archived-At: > Il 05/10/2021 17:46 Eli Zaretskii ha scritto: > > > > Date: Tue, 5 Oct 2021 15:41:15 +0200 (CEST) > > From: Angelo Graziosi > > Cc: emacs-devel@gnu.org > > > > > > >> > I use JetBrains Mono font in Emacs and in today build from master, the > > > > > > >> Please try using something like this: > > > > >> > > > > >> (set-face-attribute 'fixed-pitch nil > > > > >> :family (face-attribute 'default :family) > > > > >> :height (face-attribute 'default :height)) > > > > >> > > > > > I'd like to understand the problem better before we consider solutions > > > in this area. What's the problem with "Monospace" on MS-Windows? > > > which font does that actually use? ("C-u C-x =" on the text in > > > question should report the font Emacs uses to display that text.) > > > > When I do not use the above Protesilaos suggestions in the init, "C-u C-x =" on "begin_quote", for example, prints: > > > > position: 1613 of 4924 (33%), column: 5 > > character: i (displayed as i) (codepoint 105, #o151, #x69) > > charset: ascii (ASCII (ISO646 IRV)) > > code point in charset: 0x69 > > script: latin > > syntax: w which means: word > > category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman > > to input: type "C-x 8 RET 69" or "C-x 8 RET LATIN SMALL LETTER I" > > buffer code: #x69 > > file code: #x69 (encoded by coding system utf-8-unix) > > display: by this font (glyph code): > > gdi:-raster-Courier-normal-normal-normal-mono-16-*-*-*-c-*-iso8859-1 (#x69) > > But if JetBrains is the font of the default face, then having Courier > for a non-default face is expected, and even desired. So I'm not sure > I understand your complaint. Did you expect the fixed-pitch face to 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... > have the same font as the default face? If so, it's a wrong > expectation: we deliberately defined the fixed-pitch face to have a > different typeface, so that it stands out. But Courier is ugly! If I remember, Courier is the default font on Windows and it is ugly! In the past, I tried Lucida Console (better than Courier) and Cascadia Code but even this has its own issues (https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01950.html) > > > i.e., it uses Courier NOT JetBrains. On macOS something similar occurs: it uses Courier non Monaco. Instead on GNU/Linux (default font Monospace regular 11): > > > > [...] > > display: by this font (glyph code): > > ftcrhb:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 (#x4C) > > [...] > > And the default font on GNU/Linux is also DejaVu Sans Mono? Really Mint uses Monospace 10 and I configured Emacs adding this to the init: (set-frame-font "Monospace-11" nil t) (setq default-frame-alist '( (width . 115) ; character (height . 51) ; lines ;;(left . (- 0)); pixel ;;(top . (+ 0)); pixel (left . 850); pixel (top . 0); pixel (font . "Monospace-11") ; font )) Monospace-10 is too small for my eyes!