From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45557: 27.1; Incorrect rendering of COMBINING OVERLINE Date: Wed, 06 Jan 2021 17:10:45 +0200 Message-ID: <83k0sq2j9m.fsf@gnu.org> References: <87pn2rmmun.fsf@cam.ac.uk> <20210106.080803.2277569991627697271.enometh@meer.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45557@debbugs.gnu.org To: Madhu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 06 16:11:12 2021 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 1kxASs-0006US-UB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 16:11:10 +0100 Original-Received: from localhost ([::1]:38390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxASr-0005jI-VW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jan 2021 10:11:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxASk-0005ix-NI for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 10:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxASk-0002pU-FI for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 10:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxASk-0007Ik-A2 for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2021 10:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jan 2021 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45557 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 45557-submit@debbugs.gnu.org id=B45557.160994585328049 (code B ref 45557); Wed, 06 Jan 2021 15:11:02 +0000 Original-Received: (at 45557) by debbugs.gnu.org; 6 Jan 2021 15:10:53 +0000 Original-Received: from localhost ([127.0.0.1]:45261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxASb-0007IK-JC for submit@debbugs.gnu.org; Wed, 06 Jan 2021 10:10:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxASZ-0007I7-W7 for 45557@debbugs.gnu.org; Wed, 06 Jan 2021 10:10:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33940) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxASU-0002gh-HB; Wed, 06 Jan 2021 10:10:46 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3322 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kxAST-0004mP-No; Wed, 06 Jan 2021 10:10:46 -0500 In-Reply-To: <20210106.080803.2277569991627697271.enometh@meer.net> (message from Madhu on Wed, 06 Jan 2021 08:08:03 +0530 (IST)) 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:197425 Archived-At: > Date: Wed, 06 Jan 2021 08:08:03 +0530 (IST) > From: Madhu > > 1. emacs -Q -fn Monaco ~/test.txt > --------------------- > M-: auto-composition-mode ; => t. > > This always gets the first line "wrong": > > LATIN SMALL LETTER X > display: by this font (glyph code) > ftcrhb:-APPL-Monaco-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x5B) > + > COMBINING OVERLINE > display: by this font (glyph code) > ftcrhb:-SIL -Charis SIL-normal-normal-normal-*-22-*-*-*-*-0-iso10646-1 (#x8C > > Those are *not* composeḍ. They are not composed because Emacs didn't find a glyph in the Monaco font for the COMBINING OVERLINE character. Emacs only composes characters if they have glyphs in the same font. > 2. M-: (set-frame-font "JuliaMonoLatin-14:hintstyle=none" nil nil) > ---------------- > > - Everything should look the same except the first line is rendered in > Julia mono. The x and the overbar are still not composed. For the same reason. (On my system, with a different font, they _are_ composed.) > 3. M-x auto-composition-mode ; to toggle > ---------------- > ;; Auto-Composition mode disabled in current buffer > M-: auto-composition-mode ; => nil > > and voilà! Now the first line is rendered "correctly" with x and > overbar composed and the second line is now incorrect: the k + s > appear decomposed. This can only happen if some other software involved in the display (Cairo?) composes them. In any case, this is not an Emacs issue. > 4. emacs -Q -fn JuliaMono test.txt > > Then it all works as I think it was intended. Which might mean the hintstyle=none may be a factor here? Anyway, I see no Emacs problems in your description, only font problems. The text you sent is displayed correctly on my system, both of its lines.