From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: emacs-devel@gnu.org
Subject: Re: Different rendering in latex doc between Windows, macOS and GNU/Linux
Date: Sat, 26 Nov 2022 21:16:49 +0200 [thread overview]
Message-ID: <83wn7hr0f2.fsf@gnu.org> (raw)
In-Reply-To: <2087801596.320025.1669489439098@mail1.libero.it> (message from Angelo Graziosi on Sat, 26 Nov 2022 20:03:59 +0100 (CET))
> Date: Sat, 26 Nov 2022 20:03:59 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> Cc: emacs-devel@gnu.org
>
> > > The result of the above command is the same, both on Windows and GNU/Linux but on GNU/Linux 'foo' is rendered in underline bold while on Windows it is in italic. I create a foo.tex file with '\emph{foo}' on the first line and with the cursor on 'f' of 'foo'. See the attachments..
> >
> > The images show that the font you use on GNU/Linux doesn't have the italics
> > variant, so Emacs uses underline instead, per the defface:
> >
> > (defface italic
> > '((((supports :slant italic))
> > :slant italic)
> > (((supports :underline t))
> > :underline t)
>
> Hmm.. this is strange. "emacs -q/Q" uses Monospace and in Emacs, 'Menu-Set Default Font...' seems to show that Monospace has italic (see the attachment taken with 'emacs -Q')! But really I tried with many fonts (Andale Mono, Bitstream Vera Sans Mono, Courier, DejaVu sans Mono book, FreeMono, Noto...) all listed with the the regular, italic, bold.. versions and with the same negative results.
>
> This does not occur on Windows or macOS.
Maybe it' isn't the font, but something else, I don't know. The fact is
that Emacs says the face is 'italic', but displays it as underline. And the
above says this happens when italics cannot be produced for some reason.
> Anyway, may you suggest a font to be used with Emacs in GNU/Linux to test this?
Sorry, no. I don't know what to suggest. Maybe someone else does.
next prev parent reply other threads:[~2022-11-26 19:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-26 12:48 Different rendering in latex doc between Windows, macOS and GNU/Linux Angelo Graziosi
2022-11-26 14:14 ` Eli Zaretskii
2022-11-26 16:08 ` Angelo Graziosi
2022-11-26 16:45 ` Eli Zaretskii
2022-11-26 19:03 ` Angelo Graziosi
2022-11-26 19:16 ` Eli Zaretskii [this message]
2022-11-26 20:21 ` Stefan Monnier
2022-11-26 20:33 ` Gregory Heytings
2022-11-26 19:20 ` Jim Porter
2022-11-26 20:16 ` Angelo Graziosi
2022-11-26 20:26 ` Jim Porter
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=83wn7hr0f2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=angelo.g0@libero.it \
--cc=emacs-devel@gnu.org \
/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.