From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Date: Fri, 15 May 2020 15:55:14 +0300 Message-ID: <83sgg11hot.fsf@gnu.org> References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> <20200515115739.GC631870@zira.vinc17.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="49799"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, 41278@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 15 15:24:27 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jZaKB-000CqU-3k for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 15:24:27 +0200 Original-Received: from localhost ([::1]:45528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZaKA-0003Kg-67 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 09:24:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZZsg-00052g-J2 for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZZsg-0004a6-A2 for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZZsg-0003M3-90 for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2020 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41278 X-GNU-PR-Package: emacs Original-Received: via spool by 41278-submit@debbugs.gnu.org id=B41278.158954733712863 (code B ref 41278); Fri, 15 May 2020 12:56:02 +0000 Original-Received: (at 41278) by debbugs.gnu.org; 15 May 2020 12:55:37 +0000 Original-Received: from localhost ([127.0.0.1]:36183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZsH-0003LO-Ar for submit@debbugs.gnu.org; Fri, 15 May 2020 08:55:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZsE-0003L9-Rp for 41278@debbugs.gnu.org; Fri, 15 May 2020 08:55:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40596) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZZs9-0004K4-0v; Fri, 15 May 2020 08:55:29 -0400 Original-Received: from [176.228.60.248] (port=3566 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZZs8-0001YS-De; Fri, 15 May 2020 08:55:28 -0400 In-Reply-To: <20200515115739.GC631870@zira.vinc17.org> (message from Vincent Lefevre on Fri, 15 May 2020 13:57:39 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180329 Archived-At: > Date: Fri, 15 May 2020 13:57:39 +0200 > From: Vincent Lefevre > Cc: rpluim@gmail.com, 41278@debbugs.gnu.org > > On 2020-05-15 14:25:03 +0300, Eli Zaretskii wrote: > > Does xterm support variable-pitch fonts? > > Yes, but AFAIK, it systematically regards them as monospaced fonts, > i.e. the cell dimensions are always the same (and double-width > characters take 2 cells). IOW, xterm doesn't support variable-pitch fonts. > > If not, you will always see alignment in xterm, but not always in > > Emacs. > > I think that if the main font is a monospaced font, Emacs should > honor this choice in font replacements, keeping the cell dimensions > of the main font. I don't see how Emacs can second-guess what the user wants in this case. Mixing different fonts is at the heart of the Emacs display engine, and having different fonts have different dimensions is one of the basic features of that. Users will not appreciate if we will override the font metrics based on such arbitrary considerations. You may want that (then again, this is just one use case, and you could find out that in other situations even you will want something different), but other users will not necessarily want the same. The solution to your problem (assuming you really need this overline character and cannot use another) is to either find a suitable font that supports that character as use it as the default, or configure your fontset so that some other font, which has the same width as the default one, is used for symbols instead of Linux Libertine. > Now, this would solve the alignment problem, but if Emacs just does > that using the current font replacement, there will still be a space > between the U+203E OVERLINE characters. This issue does not occur > with xterm. Maybe xterm uses a different font, in which case you can find what that font is and configure Emacs to use it.