From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33729: 27.0.50; Partial glyphs not rendered for Gujarati with Harfbuzz enabled (renders fine using m17n) Date: Sat, 22 Dec 2018 18:33:52 +0200 Message-ID: <83efa9a5cf.fsf@gnu.org> References: <20181214110316.GK2244@macbook.localdomain> <83y38sfcme.fsf@gnu.org> <83tvjgf7ux.fsf@gnu.org> <83mup4du5z.fsf@gnu.org> <20181222085448.GA2244@macbook.localdomain> <20181222090644.GB2244@macbook.localdomain> <83va3lan24.fsf@gnu.org> <20181222151509.GC2244@macbook.localdomain> <83h8f5a7po.fsf@gnu.org> <20181222154945.GE2244@macbook.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1545496393 25810 195.159.176.226 (22 Dec 2018 16:33:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2018 16:33:13 +0000 (UTC) Cc: behdad@behdad.org, 33729@debbugs.gnu.org, far.nasiri.m@gmail.com, kaushal.modi@gmail.com To: Khaled Hosny Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 22 17:33:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gakD6-0006az-Lo for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2018 17:33:08 +0100 Original-Received: from localhost ([::1]:58603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gakFD-0005Iv-7o for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Dec 2018 11:35:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gakEy-0005II-Lv for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2018 11:35:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gakEw-0003vm-0U for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2018 11:35:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gakEv-0003uv-St for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2018 11:35:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gakEv-0003Xk-LA for bug-gnu-emacs@gnu.org; Sat, 22 Dec 2018 11:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Dec 2018 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33729-submit@debbugs.gnu.org id=B33729.154549647513577 (code B ref 33729); Sat, 22 Dec 2018 16:35:01 +0000 Original-Received: (at 33729) by debbugs.gnu.org; 22 Dec 2018 16:34:35 +0000 Original-Received: from localhost ([127.0.0.1]:60179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gakEV-0003Wv-LM for submit@debbugs.gnu.org; Sat, 22 Dec 2018 11:34:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gakEU-0003Wj-CE for 33729@debbugs.gnu.org; Sat, 22 Dec 2018 11:34:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gakEO-0003KL-DS for 33729@debbugs.gnu.org; Sat, 22 Dec 2018 11:34:29 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gakEL-0003GF-3v; Sat, 22 Dec 2018 11:34:25 -0500 Original-Received: from [176.228.60.248] (port=3240 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gakEF-0007DF-0r; Sat, 22 Dec 2018 11:34:23 -0500 In-reply-to: <20181222154945.GE2244@macbook.localdomain> (message from Khaled Hosny on Sat, 22 Dec 2018 17:49:45 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153747 Archived-At: > Date: Sat, 22 Dec 2018 17:49:45 +0200 > From: Khaled Hosny > Cc: rgm@gnu.org, far.nasiri.m@gmail.com, behdad@behdad.org, > 33729@debbugs.gnu.org, kaushal.modi@gmail.com > > Yes, the standard Unicode composition and decomposition. HarfBuzz uses > these during shaping (it prefers composed form for a given sequence if > supported by the font, and falls back to decomposed form otherwise). > > > > I recall you suggested something earlier that I tried but couldn’t > > > get to work, the exact detail escapes me. > > > > I probably suggested using the 'decomposition' property of a > > character, and perhaps als the facilities in ucs-normalize.el. > > How can this be done from C. There are several examples in the sources of calling Lisp from C. As just a random example: if (STRINGP (curdir)) val = call1 (intern ("file-remote-p"), curdir); This calls the Lisp function file-remote-p with one argument, curdir. If you tell me more about the arguments and the expected effects of calling uni_compose and uni_decompose, maybe I could propose a specific implementation. The Harfbuzz documentation doesn't seem to tell enough, or maybe I didn't find the right text. Thanks.