From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Different rendering in latex doc between Windows, macOS and GNU/Linux Date: Sat, 26 Nov 2022 15:21:59 -0500 Message-ID: References: <1585944673.322367.1669466913725@mail1.libero.it> <83tu2lssyq.fsf@gnu.org> <1962215699.329541.1669478921414@mail1.libero.it> <83bkotslzb.fsf@gnu.org> <2087801596.320025.1669489439098@mail1.libero.it> <83wn7hr0f2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28477"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Angelo Graziosi , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 26 21:22:25 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oz1gv-0007Di-HW for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Nov 2022 21:22:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oz1gg-00086m-RN; Sat, 26 Nov 2022 15:22:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oz1gd-00085X-A9 for emacs-devel@gnu.org; Sat, 26 Nov 2022 15:22:07 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oz1gb-0004vb-6u; Sat, 26 Nov 2022 15:22:06 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 20C441000FB; Sat, 26 Nov 2022 15:22:02 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8DBFD1000D5; Sat, 26 Nov 2022 15:22:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1669494120; bh=V9+eIux4RWcBOFIybdoe38geVkZqc4/RnclM62P8W+g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=TmrbTWN8lxA+N+SIvMoLsIFherZgPRKU49LiCmtkroOrH62DufvIQWYdyg6WfA1Qm 7exIsqXk3/9lkScnRIZJVKbrZYaui4WqvBP0kR4r3fWqYruPDWm+MnmefF7GbJmyCQ xGdgWZmwzWjDRSigA4l8JsW2N29L6e1f3/9BnyxPBaSZk79Rh2wOn55HlcdONjM7Ir 9eon64dMdcfd7tqECl4Y83LGvik/2ul9m0xMqiNnvraVdMoDOvEneBXwQZZxQ6kxV1 Y4pLW4I8bXkXcpCYQKKKeZAReHpqAVdcLAsMCc7+oXFSZbeTF2/a5gKrk4/z8aGosT 6Ernuo/uK5lhw== Original-Received: from pastel (unknown [104.247.241.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 594881209C1; Sat, 26 Nov 2022 15:22:00 -0500 (EST) In-Reply-To: <83wn7hr0f2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Nov 2022 21:16:49 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300591 Archived-At: 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 >> 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.