From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: info@protesilaos.com, emacs-devel@gnu.org
Subject: Re: Emacs master: different (ugly) font in org-mode [Windows, macOS]
Date: Tue, 05 Oct 2021 18:46:41 +0300 [thread overview]
Message-ID: <83a6jn4gpq.fsf@gnu.org> (raw)
In-Reply-To: <1638550012.538.1633441275953@mail1.libero.it> (message from Angelo Graziosi on Tue, 5 Oct 2021 15:41:15 +0200 (CEST))
> Date: Tue, 5 Oct 2021 15:41:15 +0200 (CEST)
> From: Angelo Graziosi <angelo.g0@libero.it>
> 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 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.
> 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?
next prev parent reply other threads:[~2021-10-05 15:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-01 21:40 Emacs master: different (ugly) font in org-mode Angelo Graziosi
2021-10-02 4:47 ` Protesilaos Stavrou
2021-10-02 9:08 ` Angelo Graziosi
2021-10-04 19:11 ` Emacs master: different (ugly) font in org-mode [Windows, macOS] Angelo Graziosi
2021-10-04 19:40 ` Protesilaos Stavrou
2021-10-05 11:47 ` Eli Zaretskii
2021-10-05 13:41 ` Angelo Graziosi
2021-10-05 15:46 ` Eli Zaretskii [this message]
2021-10-05 19:45 ` Angelo Graziosi
2021-10-06 11:48 ` Eli Zaretskii
2021-10-06 12:09 ` Protesilaos Stavrou
2021-10-06 21:06 ` Angelo Graziosi
2021-10-06 21:40 ` Stefan Kangas
2021-10-07 4:27 ` Protesilaos Stavrou
2021-10-07 4:57 ` Ihor Radchenko
2021-10-07 5:04 ` Protesilaos Stavrou
2021-10-07 5:24 ` Ihor Radchenko
2021-10-07 5:38 ` Fwd: " Ihor Radchenko
2022-04-20 6:26 ` Bastien
2022-04-20 5:06 ` Ihor Radchenko
2022-04-20 6:12 ` Bastien
2021-10-07 7:32 ` Eli Zaretskii
2021-10-07 7:31 ` Eli Zaretskii
2021-10-07 7:05 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a6jn4gpq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=angelo.g0@libero.it \
--cc=emacs-devel@gnu.org \
--cc=info@protesilaos.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.