[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs master: different (ugly) font in org-mode [Windows, macOS]
From: |
Angelo Graziosi |
Subject: |
Re: Emacs master: different (ugly) font in org-mode [Windows, macOS] |
Date: |
Mon, 4 Oct 2021 21:11:24 +0200 (CEST) |
> 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))
>
Just for completeness,
It seems I need those settings only on Windows (10 pro 64) and macOS (10.13.6)
because on GNU/Linux (with Monospaced font) I do not see the issue: those
fields ("#+language:", "#+options:" etc.) are rendered with the same font! On
Windows and macOS, instead, they are rendered differently (and ugly!).. On
Windows I tried other fonts (Lucida Console, Cascadia Code) but with the same
ugly results. On macOS the font is 'Monaco'.
Ciao,
Angelo.
- Emacs master: different (ugly) font in org-mode, Angelo Graziosi, 2021/10/01
- Re: Emacs master: different (ugly) font in org-mode, Protesilaos Stavrou, 2021/10/02
- Re: Emacs master: different (ugly) font in org-mode, Angelo Graziosi, 2021/10/02
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS],
Angelo Graziosi <=
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Protesilaos Stavrou, 2021/10/04
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Eli Zaretskii, 2021/10/05
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Angelo Graziosi, 2021/10/05
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Eli Zaretskii, 2021/10/05
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Angelo Graziosi, 2021/10/05
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Eli Zaretskii, 2021/10/06
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Protesilaos Stavrou, 2021/10/06
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Angelo Graziosi, 2021/10/06
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Stefan Kangas, 2021/10/06
- Re: Emacs master: different (ugly) font in org-mode [Windows, macOS], Protesilaos Stavrou, 2021/10/07