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 18:17:47 +0200 Message-ID: <20200515161747.GF631870@zira.vinc17.org> References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> <20200515115739.GC631870@zira.vinc17.org> <83sgg11hot.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="69952"; 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 18:18:12 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 1jZd2I-000I0H-4s for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 18:18:10 +0200 Original-Received: from localhost ([::1]:58940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZd2H-0008A7-7L for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 12:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZd2A-00089v-Oi for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 12:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZd2A-0006jf-FO for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 12:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZd2A-0005kg-BO for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 12:18: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 16:18: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.158955947322088 (code B ref 41278); Fri, 15 May 2020 16:18:02 +0000 Original-Received: (at 41278) by debbugs.gnu.org; 15 May 2020 16:17:53 +0000 Original-Received: from localhost ([127.0.0.1]:38595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZd20-0005kC-Pd for submit@debbugs.gnu.org; Fri, 15 May 2020 12:17:53 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]:59114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZd1y-0005k3-1a for 41278@debbugs.gnu.org; Fri, 15 May 2020 12:17:51 -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 B0F6E3D8; Fri, 15 May 2020 18:17:47 +0200 (CEST) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id 67436C211E0; Fri, 15 May 2020 18:17:47 +0200 (CEST) Content-Disposition: inline In-Reply-To: <83sgg11hot.fsf@gnu.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:180341 Archived-At: On 2020-05-15 15:55:14 +0300, Eli Zaretskii wrote: > > 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. Well, at least for the box drawing characters and other alignment related characters such as U+203E OVERLINE, it can, because the purpose of such characters is to work by taking alignment into account, assuming a monospaced font. So, as long as the user uses a (single) monospaced font for text, such characters should work as expected. I don't see why a user would want something different. BTW, such characters can also be handled directly by the application or library (e.g., this is the case with GNOME Terminal via the VTE library), which might be one of the reasons why some fonts do not provide them. Emacs even takes different box drawing characters in different fonts! (U+2500 from Tinos, U+256D from Noto Serif CJK TC). Note that font substitution done by gucharmap seems correct: it usually chooses DejaVu Sans Mono for box drawing characters (except for Noto Mono, where it surprisingly chooses DejaVu Sans, but there does not seem to be any difference anyway). This is actually done by fontconfig itself. Since it does a better job than Emacs, why doesn't Emacs let it do the substitution? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)