From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Angelo Graziosi <angelo.g0@libero.it>, emacs-devel@gnu.org
Subject: Re: Different rendering in latex doc between Windows, macOS and GNU/Linux
Date: Sat, 26 Nov 2022 15:21:59 -0500 [thread overview]
Message-ID: <jwvzgcdii14.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83wn7hr0f2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Nov 2022 21:16:49 +0200")
Any chance this problem is related to bug#59347?
Stefan
Eli Zaretskii [2022-11-26 21:16:49] wrote:
>> 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 20:21 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
2022-11-26 20:21 ` Stefan Monnier [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvzgcdii14.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=angelo.g0@libero.it \
--cc=eliz@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).