emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different rendering in latex doc between Windows, macOS and GNU/Linu


From: Stefan Monnier
Subject: Re: Different rendering in latex doc between Windows, macOS and GNU/Linux
Date: Sat, 26 Nov 2022 15:21:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]