From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Date: Fri, 15 May 2020 14:24:23 +0200 Message-ID: <20200515122423.GD631870@zira.vinc17.org> References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> <20200515115739.GC631870@zira.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="41587"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14+36 (e78d2b4f) vl-127292 (2020-05-15) Cc: rpluim@gmail.com, 41278@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 15 14:25:11 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 1jZZOo-000AeU-5m for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 14:25:10 +0200 Original-Received: from localhost ([::1]:38420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZZOm-0002HY-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 08:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZZOg-0002G0-Rh for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZZOg-0003Hr-Hs for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZZOg-0002cv-Co for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2020 12:25: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.158954546610042 (code B ref 41278); Fri, 15 May 2020 12:25:02 +0000 Original-Received: (at 41278) by debbugs.gnu.org; 15 May 2020 12:24:26 +0000 Original-Received: from localhost ([127.0.0.1]:36145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZO6-0002bu-6x for submit@debbugs.gnu.org; Fri, 15 May 2020 08:24:26 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]:58978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZO4-0002bm-Sn for 41278@debbugs.gnu.org; Fri, 15 May 2020 08:24:25 -0400 Original-Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 8556C3D8; Fri, 15 May 2020 14:24:23 +0200 (CEST) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id 36293C211E0; Fri, 15 May 2020 14:24:23 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20200515115739.GC631870@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ 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:180322 Archived-At: On 2020-05-15 13:57:39 +0200, Vincent Lefevre wrote: > On 2020-05-15 14:25:03 +0300, Eli Zaretskii wrote: > > 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. > > 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. BTW, Noto Mono is also affected by font replacements that don't match the cell width of the main font, both for U+203E OVERLINE and for box drawing characters. Some tests can be done with Markus Kuhn's demo file at https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt In particular: Box drawing alignment tests: █ ▉ ╔══╦══╗ ┌──┬──┐ ╭──┬──╮ ╭──┬──╮ ┏━━┳━━┓ ┎┒┏┑ ╷ ╻ ┏┯┓ ┌┰┐ ▊ ╱╲╱╲╳╳╳ ║┌─╨─┐║ │╔═╧═╗│ │╒═╪═╕│ │╓─╁─╖│ ┃┌─╂─┐┃ ┗╃╄┙ ╶┼╴╺╋╸┠┼┨ ┝╋┥ ▋ ╲╱╲╱╳╳╳ ║│╲ ╱│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╿ │┃ ┍╅╆┓ ╵ ╹ ┗┷┛ └┸┘ ▌ ╱╲╱╲╳╳╳ ╠╡ ╳ ╞╣ ├╢ ╟┤ ├┼─┼─┼┤ ├╫─╂─╫┤ ┣┿╾┼╼┿┫ ┕┛┖┚ ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳ ║│╱ ╲│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╽ │┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▎ ║└─╥─┘║ │╚═╤═╝│ │╘═╪═╛│ │╙─╀─╜│ ┃└─╂─┘┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▏ ╚══╩══╝ └──┴──┘ ╰──┴──╯ ╰──┴──╯ ┗━━┻━━┛ ▗▄▖▛▀▜ └╌╌┘ ╎ ┗╍╍┛ ┋ ▁▂▃▄▅▆▇█ ▝▀▘▙▄▟ -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)