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#55319: 28.1.50; Abugida not rendered correctly (MacOS) Date: Mon, 09 May 2022 05:38:11 +0300 Message-ID: <83czgnv3ak.fsf@gnu.org> References: <83ilqgufm3.fsf@gnu.org> 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="29505"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55319@debbugs.gnu.org To: Kai Ma Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 04:39:14 2022 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 1nntIo-0007ZC-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 04:39:14 +0200 Original-Received: from localhost ([::1]:49180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nntIm-0000Lv-Ky for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 22:39:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nntIc-0000Lg-0P for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 22:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nntIb-0002Zc-O1 for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 22:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nntIb-0003rB-Ig for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 22:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 May 2022 02:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55319 X-GNU-PR-Package: emacs Original-Received: via spool by 55319-submit@debbugs.gnu.org id=B55319.165206392314801 (code B ref 55319); Mon, 09 May 2022 02:39:01 +0000 Original-Received: (at 55319) by debbugs.gnu.org; 9 May 2022 02:38:43 +0000 Original-Received: from localhost ([127.0.0.1]:55580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nntII-0003qd-S5 for submit@debbugs.gnu.org; Sun, 08 May 2022 22:38:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nntI1-0003q1-Rc for 55319@debbugs.gnu.org; Sun, 08 May 2022 22:38:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nntHu-0002WT-Ld; Sun, 08 May 2022 22:38:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=JzrHfexrFjJcjhNT76ilArg6BjBHgLEP8nqIcG+FMzw=; b=Al/MS0TtJ2+KeAXyOcNL SGsUazrWW92poCIrPG0kVY/qtryzXkCHfb644u1oFmH0EY1ldHxtTCXjRN0ApSs6hBXXJF1/klchi i00L2GeEp4wbrnqGXjyVZJZKETkRG012UKrqljCglCB55hUbQ7IsvJGROtv8zkK6iEgJL+uZERwed 7OI4a8sUrphAIMy+dcxtwKJA62M6Q77NmEMOWu+uTVSP2D7eNv11V/54AQfFP7OXlfwqYcf12RouJ seQP0qlMU49F/qsDlhoS/0Lr7aiNEK9CHOhOq/jriwt7ddkyS9CYd6ttVT/hKwzxi5swXrz+l0v8/ jtHkWZjf7htZxg==; Original-Received: from [87.69.77.57] (port=3471 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nntHs-0001zN-T6; Sun, 08 May 2022 22:38:18 -0400 In-Reply-To: (message from Kai Ma on Mon, 9 May 2022 09:43:48 +0800) 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:231689 Archived-At: > From: Kai Ma > Date: Mon, 9 May 2022 09:43:48 +0800 > Cc: 55319@debbugs.gnu.org > > > On May 9, 2022, at 00:57, Eli Zaretskii wrote: > > > > Emacs doesn't OOTB support scripts whose characters are not in > > Unicode. When characters are not in Unicode, their properties and > > attributes aren't known, unless someone tells Emacs what they are. > > That was my thought, too. However, I don’t think this is the root cause in this case. > > 1. Other applications (including Web browsers and the native GUI toolkit) render > the text just fine. This makes me believe the font file itself contains enough information. I don't know about other applications and their needs, but I do know what Emacs needs to support a character. A font cannot contain enough information for Emacs to use a character in general, and doesn't even include enough information for Emacs to display that character. More importantly, Emacs never takes information about characters from fonts. It's actually the other way around: Emacs needs to know enough about a character to choose the right font for it. > 2. Emacs also discovers some glyphs should be composed, e.g. intonation marks (e.g. #xed8c), > but not the vowels. I don’t know why this happens. I just tried copy character properties > from these good ones. It didn’t work. Emacs doesn't discover composition rules. The composition rules are part of the Emacs code, see the various *.el files in lisp/language/ directory. Some of these composition rules are derived automatically from character properties, see composite.el and characters.el (which cannot happen without Emacs knowing up-front about the properties). > But in general, this could just be Emacs not fully supporting OpenType features. Emacs relies on text-shaping engines for full OTF support. AFAIK, text-shaping engines also don't support PUA characters without special measures.