From debbugs-submit-bounces@debbugs.gnu.org Thu May 14 15:41:38 2020 Received: (at submit) by debbugs.gnu.org; 14 May 2020 19:41:38 +0000 Received: from localhost ([127.0.0.1]:34964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZJje-0002Jh-7b for submit@debbugs.gnu.org; Thu, 14 May 2020 15:41:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:35372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZJjc-0002JX-IL for submit@debbugs.gnu.org; Thu, 14 May 2020 15:41:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZJjc-0003IM-6v for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 15:41:36 -0400 Received: from joooj.vinc17.net ([155.133.131.76]:58920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZJjZ-0003Ga-I9 for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 15:41:35 -0400 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 1AFF84C2; Thu, 14 May 2020 21:41:24 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id DC351C22B0D; Thu, 14 May 2020 21:41:23 +0200 (CEST) From: Vincent Lefevre To: bug-gnu-emacs@gnu.org Subject: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Date: Thu, 14 May 2020 21:41:13 +0200 Message-ID: <87blmqz4me.fsf@vinc17.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=155.133.131.76; envelope-from=vincent@vinc17.net; helo=joooj.vinc17.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/14 15:41:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On the following text file: underline =E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2= =80=BE (where =E2=80=BE is U+203E OVERLINE), the command emacs -Q -fn "Fantasque Sans Mono" text shows an incorrect alignment (see attached screenshot). --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=underline.png Content-Transfer-Encoding: base64 Content-Description: screenshot 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 --=-=-= Content-Type: text/plain There is no such issue with xterm. Tested under Debian/unstable with fonts-fantasque-sans 1.7.2~alpha.3~dfsg-2 Debian's package GNU Emacs 26.3 has the same issue. In GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20) of 2020-05-14 built on zira Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/usr/local/emacs-27.0.91' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LC_COLLATE: POSIX value of $LC_CTYPE: C.UTF-8 value of $LC_TIME: en_DK value of $LANG: POSIX locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs cl-lib vc-dispatcher vc-svn tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 48117 9155) (symbols 48 6158 1) (strings 32 16333 1771) (string-bytes 1 543005) (vectors 16 11261) (vector-slots 8 144865 9168) (floats 8 20 40) (intervals 56 195 0) (buffers 1000 12)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 05:57:26 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 09:57:26 +0000 Received: from localhost ([127.0.0.1]:35878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZX5q-00056k-JG for submit@debbugs.gnu.org; Fri, 15 May 2020 05:57:26 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:35663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZX5o-00056W-8U for 41278@debbugs.gnu.org; Fri, 15 May 2020 05:57:24 -0400 Received: by mail-wm1-f42.google.com with SMTP id n5so1987021wmd.0 for <41278@debbugs.gnu.org>; Fri, 15 May 2020 02:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=rsioPbDbfvZpn9kc5Vd5pl5qDD5jS/lZ5upSm48R3As=; b=eg1FSz7fDzXbbkS/J5XZZo4vtK4OrB9Lt6K9hxFdfVjV/YqejAbkPLdWA6ZxwmeY0K hEssosn2v6xXWZNkqkoalDTGv8PX0PELLhGetRkeSNb6Ikokd35glsopKh2+EFy4zJe4 diwe6a3EurH5I48FvZoJr7YiwnU3uItUAT9RvJ6i80Kqxi89XYdZTxx21nTQq0tFbBSl r7SMeYh+6CAQplNicYuGK8Dj+av65JDGnMR0hr9THIsStqDdnrXlB+t3ZXjARIr5Uoa9 GUA2SVrP169WFxN+SWU7xNvf0XXwi1kI1mrgtiOJ9AfYy7a0SCgNbPGuPS5RMz6k+vqa 7T/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=rsioPbDbfvZpn9kc5Vd5pl5qDD5jS/lZ5upSm48R3As=; b=Ggmk7w6A3/g9j08Sh/jqHGdLL3TSeDwobz/LpUUIj5a5b9p3MhI8dxyoNKDN9byKl4 byOvETNgelz1HclmqqqVXLXMHBv9o954D4gyQ8Q2mux7zf45ciBC6S38WSWGVCD+hPtz BfWQPK4oNBShKf7sy5hthKDicVnS58aqK2HtUEKkL605thPiDPhDe6UK0a/KKYP1c5GI M3BRzh5LoTduR+zZZPr9yPwxVhixyDp+5tCiSfRuOZw9UZikeG4sz/dpzeBlPzDFbbo9 p38Szi4XiFIOI7KTvbBIehiMZ9O5PSgOCdXltFOHUs/hdIfjIMiT5IQQIXovGJWlAUOi 4uPw== X-Gm-Message-State: AOAM531lAs8EixYQsSmiTG52DG+2R37ykIAjgbj6LRAYHamQI+KOrS2r zOZAl2sD21MkYVZ9Npm+pDoaFJb1OwCMHQ== X-Google-Smtp-Source: ABdhPJxqBOGiSvwwOSaPjZAXkhz3W7oUzRHxCb+9QkG2roPAdpJuoWwGnvpWkjfJf+TuNsoNW+BQwg== X-Received: by 2002:a1c:2087:: with SMTP id g129mr3100763wmg.126.1589536637831; Fri, 15 May 2020 02:57:17 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:2596:89e6:a99a:9ba2]) by smtp.gmail.com with ESMTPSA id g6sm2812723wrp.75.2020.05.15.02.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 02:57:17 -0700 (PDT) From: Robert Pluim To: Vincent Lefevre Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> Date: Fri, 15 May 2020 11:57:16 +0200 In-Reply-To: <87blmqz4me.fsf@vinc17.net> (Vincent Lefevre's message of "Thu, 14 May 2020 21:41:13 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 14 May 2020 21:41:13 +0200, Vincent Lefevre said: Vincent> On the following text file: Vincent> underline Vincent> =E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80=BE=E2=80= =BE=E2=80=BE=E2=80=BE Vincent> (where =E2=80=BE is U+203E OVERLINE), the command Vincent> emacs -Q -fn "Fantasque Sans Mono" text Vincent> shows an incorrect alignment (see attached screenshot). Two questions: - is Fantasque being used for the U+203E (check with C-u C-x =3D) - does this same problem happen if you build emacs 27 with Cairo enabled? (you might need to install some cairo development packages) Robert From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 06:28:51 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 10:28:51 +0000 Received: from localhost ([127.0.0.1]:35939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZXaF-0005yY-CH for submit@debbugs.gnu.org; Fri, 15 May 2020 06:28:51 -0400 Received: from joooj.vinc17.net ([155.133.131.76]:58886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZXaE-0005yQ-Km for 41278@debbugs.gnu.org; Fri, 15 May 2020 06:28:50 -0400 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 C614D3D8; Fri, 15 May 2020 12:28:48 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 8043FC211E0; Fri, 15 May 2020 12:28:48 +0200 (CEST) Date: Fri, 15 May 2020 12:28:48 +0200 From: Vincent Lefevre To: Robert Pluim Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Message-ID: <20200515102848.GB631870@zira.vinc17.org> References: <87blmqz4me.fsf@vinc17.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.14+36 (e78d2b4f) vl-127292 (2020-05-15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-05-15 11:57:16 +0200, Robert Pluim wrote: > >>>>> On Thu, 14 May 2020 21:41:13 +0200, Vincent Lefevre said: > > Vincent> On the following text file: > > Vincent> underline > Vincent> ‾‾‾‾‾‾‾‾‾ > > Vincent> (where ‾ is U+203E OVERLINE), the command > > Vincent> emacs -Q -fn "Fantasque Sans Mono" text > > Vincent> shows an incorrect alignment (see attached screenshot). > > Two questions: > > - is Fantasque being used for the U+203E (check with C-u C-x =) No: xfthb:-PfEd-Linux Libertine Display O-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x619) So I suppose that XTerm does a better replacement. > - does this same problem happen if you build emacs 27 with Cairo > enabled? (you might need to install some cairo development > packages) Same problem. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 06:35:30 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 10:35:30 +0000 Received: from localhost ([127.0.0.1]:35949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZXgg-00069k-FF for submit@debbugs.gnu.org; Fri, 15 May 2020 06:35:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZXgf-00069X-0o for 41278@debbugs.gnu.org; Fri, 15 May 2020 06:35:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60628) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZXgZ-00010i-Ac; Fri, 15 May 2020 06:35:23 -0400 Received: from [176.228.60.248] (port=2861 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZXgY-0001Ke-PI; Fri, 15 May 2020 06:35:23 -0400 Date: Fri, 15 May 2020 13:35:08 +0300 Message-Id: <83blmp32qr.fsf@gnu.org> From: Eli Zaretskii To: Vincent Lefevre In-Reply-To: <87blmqz4me.fsf@vinc17.net> (message from Vincent Lefevre on Thu, 14 May 2020 21:41:13 +0200) Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41278 Cc: 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Vincent Lefevre > Date: Thu, 14 May 2020 21:41:13 +0200 > > On the following text file: > > underline > ‾‾‾‾‾‾‾‾‾ > > (where ‾ is U+203E OVERLINE), the command > > emacs -Q -fn "Fantasque Sans Mono" text > > shows an incorrect alignment (see attached screenshot). AFAICT, that font doesn't have a glyph for U+203E, so Emacs is probably using some other font, which has a different width. (I looked in version 1.8.0 of the font, not 1.7.2.) From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 07:25:26 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 11:25:26 +0000 Received: from localhost ([127.0.0.1]:36051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZYT0-0007Vp-31 for submit@debbugs.gnu.org; Fri, 15 May 2020 07:25:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZYSy-0007VZ-Eh for 41278@debbugs.gnu.org; Fri, 15 May 2020 07:25:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35883) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZYSr-0004SQ-1V; Fri, 15 May 2020 07:25:17 -0400 Received: from [176.228.60.248] (port=1956 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZYSp-00051k-Qr; Fri, 15 May 2020 07:25:16 -0400 Date: Fri, 15 May 2020 14:25:03 +0300 Message-Id: <831rnl30fk.fsf@gnu.org> From: Eli Zaretskii To: Vincent Lefevre In-Reply-To: <20200515102848.GB631870@zira.vinc17.org> (message from Vincent Lefevre on Fri, 15 May 2020 12:28:48 +0200) Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 15 May 2020 12:28:48 +0200 > From: Vincent Lefevre > Cc: 41278@debbugs.gnu.org > > > - is Fantasque being used for the U+203E (check with C-u C-x =) > > No: > > xfthb:-PfEd-Linux Libertine Display O-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x619) > > So I suppose that XTerm does a better replacement. Does xterm support variable-pitch fonts? If not, you will always see alignment in xterm, but not always in Emacs. From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 07:52:17 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 11:52:17 +0000 Received: from localhost ([127.0.0.1]:36109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZYsz-0001pC-4a for submit@debbugs.gnu.org; Fri, 15 May 2020 07:52:17 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:54110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZYsx-0001p0-Ly for 41278@debbugs.gnu.org; Fri, 15 May 2020 07:52:16 -0400 Received: by mail-wm1-f52.google.com with SMTP id k12so2020397wmj.3 for <41278@debbugs.gnu.org>; Fri, 15 May 2020 04:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ZNv/iWZxHIwhpma8Vhooe+taVBjOK8HbVlBaa6GiJ/0=; b=O6Liu0vXQ9DA1zz40l8J45TW1l3ey4LPPX102REEJchv2TtDi0YI5uPVy+xo1V34Z/ +el/LWcD8G3+VQknzvfEXYbXERmqdg+I2mXK0REeWDv34YugBVCEqXZMXnWZ4eyNVDja yGCfBGhuDQsau1FGlsQ/gNq8AL6JE1A9kHLIiM3vC1K+94dwxfiypsPPpPzJHEnvSD2w MkZQaEpUrazQ2WM1OeaeKOWVVsoz9dKV5HXVTvy4n6EQCgu/P7nE6g6y2baM3A7jse9U gP7rWSNZeZBBoeHU86i3RhdAP40tzMzvfdt/p86Xh0u3AcdkcezZM+ZyfRspUwgqx81e raxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=ZNv/iWZxHIwhpma8Vhooe+taVBjOK8HbVlBaa6GiJ/0=; b=ljtBYN/RSN/bMQXk/6pIJQTA+clx343I8LJLEEdra3plXolx4foJgnxDRpZBE74Z0c 58wZEYobzp4wt2A4WCGPbxBYP49I084x4yI/TuKgVK+3ztydxay+OxlkE5BXHIj587Lu v6BS4RsE9h5YPirjhzCCa2Ks34tqvsC3fQKQLjm7IpQ0aweR0o9j/YS4qZuF0qfi3V9+ t+MlN0zWEifr9aXsbqoHL8RabIR5tJgIBsK1xTVsgQ/7B7VW8ObQvO9r1dK+L8OCsR8Y a1hUI/hlnphW6Hm8kh38OV8948vmABwMF0n83qCm9FbLHvR4L2uXxdDcyL4knddMEq07 rw3Q== X-Gm-Message-State: AOAM5318blhB9PoDOi23NY76f00vF/XaBefT98tRofYjwFoOmrgagFjp 2RXxlh/NKxDwsi25afG0rnBFBQNlly9Nlg== X-Google-Smtp-Source: ABdhPJyQ43OlxRkoirtN+a4kc3tYff2N+eQGhG9Rj3XSYQGhQ7z8XaIuvF97q99N63/AD8CZDmqCyA== X-Received: by 2002:a1c:2888:: with SMTP id o130mr3562603wmo.138.1589543529269; Fri, 15 May 2020 04:52:09 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:2596:89e6:a99a:9ba2]) by smtp.gmail.com with ESMTPSA id 2sm3414236wre.25.2020.05.15.04.52.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 04:52:08 -0700 (PDT) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> Date: Fri, 15 May 2020 13:52:07 +0200 In-Reply-To: <831rnl30fk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 May 2020 14:25:03 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: Vincent Lefevre , 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 15 May 2020 14:25:03 +0300, Eli Zaretskii said: >> Date: Fri, 15 May 2020 12:28:48 +0200 >> From: Vincent Lefevre >> Cc: 41278@debbugs.gnu.org >>=20 >> > - is Fantasque being used for the U+203E (check with C-u C-x = =3D) >>=20 >> No: >>=20 >> xfthb:-PfEd-Linux Libertine Display O-normal-normal-normal-*-22-*-*-= *-*-0-iso10646-1 (#x619) >>=20 >> So I suppose that XTerm does a better replacement. Eli> Does xterm support variable-pitch fonts? If not, you will always = see Eli> alignment in xterm, but not always in Emacs. Plus I=CA=BCm not sure Fantasque has a glyph for U+203E anyway. Robert From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 07:57:44 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 11:57:44 +0000 Received: from localhost ([127.0.0.1]:36120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZYyG-0001xK-4a for submit@debbugs.gnu.org; Fri, 15 May 2020 07:57:44 -0400 Received: from joooj.vinc17.net ([155.133.131.76]:58958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZYyE-0001xB-6L for 41278@debbugs.gnu.org; Fri, 15 May 2020 07:57:42 -0400 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 74A343D8; Fri, 15 May 2020 13:57:40 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 03F3FC211E0; Fri, 15 May 2020 13:57:39 +0200 (CEST) Date: Fri, 15 May 2020 13:57:39 +0200 From: Vincent Lefevre To: Eli Zaretskii Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Message-ID: <20200515115739.GC631870@zira.vinc17.org> References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <831rnl30fk.fsf@gnu.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.14+36 (e78d2b4f) vl-127292 (2020-05-15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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). > 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. -- Vincent Lefvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 08:24:26 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 12:24:26 +0000 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 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 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) Received: by zira.vinc17.org (Postfix, from userid 1000) id 36293C211E0; Fri, 15 May 2020 14:24:23 +0200 (CEST) Date: Fri, 15 May 2020 14:24:23 +0200 From: Vincent Lefevre To: Eli Zaretskii Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200515115739.GC631870@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.14+36 (e78d2b4f) vl-127292 (2020-05-15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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) From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 08:31:21 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 12:31:21 +0000 Received: from localhost ([127.0.0.1]:36159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZUn-0002nX-Ht for submit@debbugs.gnu.org; Fri, 15 May 2020 08:31:21 -0400 Received: from joooj.vinc17.net ([155.133.131.76]:58990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZUl-0002nP-WB for 41278@debbugs.gnu.org; Fri, 15 May 2020 08:31:20 -0400 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 84E953D8; Fri, 15 May 2020 14:31:18 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 1605FC211E0; Fri, 15 May 2020 14:31:17 +0200 (CEST) Date: Fri, 15 May 2020 14:31:17 +0200 From: Vincent Lefevre To: Robert Pluim Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono Message-ID: <20200515123117.GE631870@zira.vinc17.org> References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200515102848.GB631870@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.14+36 (e78d2b4f) vl-127292 (2020-05-15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2020-05-15 12:28:48 +0200, Vincent Lefevre wrote: > On 2020-05-15 11:57:16 +0200, Robert Pluim wrote: > > - is Fantasque being used for the U+203E (check with C-u C-x =) > > No: > > xfthb:-PfEd-Linux Libertine Display O-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x619) > > So I suppose that XTerm does a better replacement. FYI, I can see with "xterm -report-fonts", concerning the font replacement: Loaded XftFonts(fallback[fNorm]) first char: 32 last char: 120831 missing-chars: 117478 present-chars: 3322 DejaVu Sans Mono-10 familylang=en style=Book stylelang=en fullname=DejaVu Sans Mono fullnamelang=en slant=0 weight=80 width=100 pixelsize=18.3333 spacing=100 foundry=PfEd antialias=True hintstyle=1 hinting=False verticallayout=False autohint=False globaladvance=True file=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf [...] -- Vincent Lefvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 08:55:37 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 12:55:37 +0000 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 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 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 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 Date: Fri, 15 May 2020 15:55:14 +0300 Message-Id: <83sgg11hot.fsf@gnu.org> From: Eli Zaretskii To: Vincent Lefevre In-Reply-To: <20200515115739.GC631870@zira.vinc17.org> (message from Vincent Lefevre on Fri, 15 May 2020 13:57:39 +0200) Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> <20200515115739.GC631870@zira.vinc17.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 08:58:25 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 12:58:25 +0000 Received: from localhost ([127.0.0.1]:36187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZus-0003PC-Sb for submit@debbugs.gnu.org; Fri, 15 May 2020 08:58:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZur-0003P0-VI for 41278@debbugs.gnu.org; Fri, 15 May 2020 08:58:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40624) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZZum-00051X-I9; Fri, 15 May 2020 08:58:12 -0400 Received: from [176.228.60.248] (port=3734 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZZul-0004ra-GV; Fri, 15 May 2020 08:58:12 -0400 Date: Fri, 15 May 2020 15:58:00 +0300 Message-Id: <83pnb51hk7.fsf@gnu.org> From: Eli Zaretskii To: Vincent Lefevre In-Reply-To: <20200515122423.GD631870@zira.vinc17.org> (message from Vincent Lefevre on Fri, 15 May 2020 14:24:23 +0200) Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> <20200515115739.GC631870@zira.vinc17.org> <20200515122423.GD631870@zira.vinc17.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 15 May 2020 14:24:23 +0200 > From: Vincent Lefevre > Cc: rpluim@gmail.com, 41278@debbugs.gnu.org > > 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. Yes, you can easily have unaligned display if you use inappropriate fonts. This is not a bug in Emacs. From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 09:02:07 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 13:02:07 +0000 Received: from localhost ([127.0.0.1]:36196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZyZ-0003Wa-9D for submit@debbugs.gnu.org; Fri, 15 May 2020 09:02:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZZyY-0003W5-JW for 41278@debbugs.gnu.org; Fri, 15 May 2020 09:02:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40809) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZZyT-0006Mn-Ac; Fri, 15 May 2020 09:02:01 -0400 Received: from [176.228.60.248] (port=3970 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZZyS-0001b0-Nz; Fri, 15 May 2020 09:02:01 -0400 Date: Fri, 15 May 2020 16:01:48 +0300 Message-Id: <83mu691hdv.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: (message from Robert Pluim on Fri, 15 May 2020 13:52:07 +0200) Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41278 Cc: vincent@vinc17.net, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: Vincent Lefevre , 41278@debbugs.gnu.org > Date: Fri, 15 May 2020 13:52:07 +0200 > > Plus Iʼm not sure Fantasque has a glyph for U+203E anyway. I'm sure it doesn't. I checked that and saw there's no glyph. This is not a bug, but the expected behavior. From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 12:17:53 2020 Received: (at 41278) by debbugs.gnu.org; 15 May 2020 16:17:53 +0000 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 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 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) Received: by zira.vinc17.org (Postfix, from userid 1000) id 67436C211E0; Fri, 15 May 2020 18:17:47 +0200 (CEST) Date: Fri, 15 May 2020 18:17:47 +0200 From: Vincent Lefevre To: Eli Zaretskii Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <83sgg11hot.fsf@gnu.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.14+36 (e78d2b4f) vl-127292 (2020-05-15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 Lefvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 23 20:37:29 2020 Received: (at 41278) by debbugs.gnu.org; 24 Aug 2020 00:37:29 +0000 Received: from localhost ([127.0.0.1]:55420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA0UK-0000AA-VK for submit@debbugs.gnu.org; Sun, 23 Aug 2020 20:37:29 -0400 Received: from mail-yb1-f171.google.com ([209.85.219.171]:46426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA0UF-00009b-DT for 41278@debbugs.gnu.org; Sun, 23 Aug 2020 20:37:23 -0400 Received: by mail-yb1-f171.google.com with SMTP id x10so4234696ybj.13 for <41278@debbugs.gnu.org>; Sun, 23 Aug 2020 17:37:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=tQg28nkGo68k+UJ8GNHdBtVM7Ok8nl66zhkQc7CLrD0=; b=ZAHOMmY5khq/4Pc3MtpOyJSblukSeYw3jwl9jafp1ZoGbLvAzYYpXAF6Dd1GjGDcAd d/vRHcg+tn0CF+cXE2iEQ6vJY1br4KVP8Q/hK/Mw+AjMlef4MhBZSbSZOO6Q/hMkC5Zv DjqMLinS3O+K9O6X8SwtQt+DSsV165P/8Hh7KV0O+1Z2IZ5Bd8gdt85EKMCeg9FkWBXH Y6ZfzjzZk8fw5lmEqC+KrxXzLJUAQQKE1lN0exXPIHnBXL4TY/h197+5Qqr67j5KF0j5 ZZ2vYnyobor/SIU0/SS8+47IE7Mrc1/YV19NFTfHut3cHkaRZQ8jNhh4KistrIQtjp6I y2gQ== X-Gm-Message-State: AOAM531jy6u8W3V992wee7iZ3bBJCkhXgitljADBL4tIJbr9kUXmax89 hHE8o4ZT7mAtiG2WT1/U7mwpqZKc5yKzXySlnJ0= X-Google-Smtp-Source: ABdhPJxRMpP3Qe6QAoVgrQcjXl1SreTzYKD+bimFy2OGFe4oXL9uwJcJ7xFTkgWG0RDzI4s+qnblBTedSjkY9wVWNOE= X-Received: by 2002:a25:4609:: with SMTP id t9mr4154421yba.231.1598229437912; Sun, 23 Aug 2020 17:37:17 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 23 Aug 2020 20:37:17 -0400 From: Stefan Kangas In-Reply-To: <83pnb51hk7.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 May 2020 15:58:00 +0300") References: <87blmqz4me.fsf@vinc17.net> <20200515102848.GB631870@zira.vinc17.org> <831rnl30fk.fsf@gnu.org> <20200515115739.GC631870@zira.vinc17.org> <20200515122423.GD631870@zira.vinc17.org> <83pnb51hk7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sun, 23 Aug 2020 20:37:17 -0400 Message-ID: Subject: Re: bug#41278: 27.0.91; incorrect U+203E OVERLINE alignment with Fantasque Sans Mono To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 41278 Cc: rpluim@gmail.com, Vincent Lefevre , 41278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tags 41278 + notabug close 41278 thanks Eli Zaretskii writes: >> Date: Fri, 15 May 2020 14:24:23 +0200 >> From: Vincent Lefevre >> Cc: rpluim@gmail.com, 41278@debbugs.gnu.org >> >> 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. > > Yes, you can easily have unaligned display if you use inappropriate > fonts. > > This is not a bug in Emacs. >From reading this thread, the solution here is to use a font which supports the features you want to use. I'm therefore closing this bug report. Best regards, Stefan Kangas From unknown Sun Jun 22 00:08:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Sep 2020 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator