From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Khaled Hosny 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, 15 Dec 2018 00:47:43 +0200 Message-ID: <20181214224743.GL2244@macbook.localdomain> References: <20181213203102.GF2244@macbook.localdomain> <83h8fghcpo.fsf@gnu.org> <20181214075056.GI2244@macbook.localdomain> <8336r0h1cb.fsf@gnu.org> <20181214110316.GK2244@macbook.localdomain> <83y38sfcme.fsf@gnu.org> 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 1544827571 24328 195.159.176.226 (14 Dec 2018 22:46:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2018 22:46:11 +0000 (UTC) User-Agent: Mutt/1.11.1 (2018-12-01) Cc: behdad@behdad.org, kaushal.modi@gmail.com, 33729@debbugs.gnu.org, far.nasiri.m@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 14 23:46:07 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 1gXwDe-0006FF-KI for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 23:46:06 +0100 Original-Received: from localhost ([::1]:35841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXwFk-0007FI-PE for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 17:48:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXwFe-0007Ez-5x for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:48:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXwFW-0003Zz-VF for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:48:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXwFW-0003Z1-0u for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXwFV-0004IA-TP for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 17:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Khaled Hosny Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Dec 2018 22:48: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.154482767816489 (code B ref 33729); Fri, 14 Dec 2018 22:48:01 +0000 Original-Received: (at 33729) by debbugs.gnu.org; 14 Dec 2018 22:47:58 +0000 Original-Received: from localhost ([127.0.0.1]:48643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXwFR-0004Ht-MT for submit@debbugs.gnu.org; Fri, 14 Dec 2018 17:47:57 -0500 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:39020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXwFP-0004Hg-Ix for 33729@debbugs.gnu.org; Fri, 14 Dec 2018 17:47:55 -0500 Original-Received: by mail-wm1-f41.google.com with SMTP id f81so7221267wmd.4 for <33729@debbugs.gnu.org>; Fri, 14 Dec 2018 14:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=mDRiAB2kztbHc7Sm7QlEeC7GrjyvMYRKWiz5jLIFjJs=; b=Zn+doqxF6R/Awrsw02Y9qvFHgXVXOp2SqTbmtVWvTxrSzj+PwWcIPp9DFkQdo8axil eHCkJVkuSe/vsagrzF81HhIOUgMvjuzRQ2FRQi17x0Wj7KiNxIwpbtvqJ4VKQdN/CGYI QJjQRKbhkFUqFQbaMd4YXktYntyOG6iukicFiW2fHFMYdORFuNy1tnVfMqQicLcMIWC5 oSpZnK0h6KtFqNL30G/XZQc3e0JAlq/ZT6juKgAG+9/scsP+zh77qfJCd8UE1K39swSw QRfYzusSf/tQqlnuy2CfnYCp+lqM9oFyvwBv0RKz+HuvQ7sQnzpM8FqIFMv+EQ/XrUn4 iyqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=mDRiAB2kztbHc7Sm7QlEeC7GrjyvMYRKWiz5jLIFjJs=; b=ZWl5vU/NFqoSHC+V0HJalfAbpEfz3P/Mi0yZ719fhohXUrBxy/0sH0s16elVCGwqyl 2y38BsuIBY7zmdTWpWJxTcuoJHJc/vIdjGnslg3ptmd3EhI4Qgzs3IPCDe/1fstrQVtN 2F+qQYBvgFmtBT2LsVSDryZqG2V03QHX5EWbsFOZWkoqHyGxA1m4ZTvR725kuVncuIO9 Dnu5rml2flf/irceOebcklOrVuNrz66GdM52IjGODWPZMFLe1uycY1CVjzYH6FYq6Y9Y Roe1S7QjXzqmzdqdvTywQPYnInFclQZOsamhf5ugV6bSSzYa7jh1F2GHOfyZNHTM0NBs cH+Q== X-Gm-Message-State: AA+aEWYAu4pF+XKucM5TfTGV7jNJ8zpC+VL0UCz4SOZhRl9pYIMm2mi3 kw6SQ/36+tEe1Qsa5GYGUjo= X-Google-Smtp-Source: AFSGD/Vzj+x+GNDov4vJDBgdedfXMuNr9PmsWe9lwRML+d531Wt9gLPrh8xeine/7rVzqB3ux1STsw== X-Received: by 2002:a1c:a401:: with SMTP id n1mr4952069wme.114.1544827669746; Fri, 14 Dec 2018 14:47:49 -0800 (PST) Original-Received: from macbook.localdomain ([197.58.120.254]) by smtp.gmail.com with ESMTPSA id c12sm6847240wrs.82.2018.12.14.14.47.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Dec 2018 14:47:48 -0800 (PST) Content-Disposition: inline In-Reply-To: <83y38sfcme.fsf@gnu.org> 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:153466 Archived-At: On Fri, Dec 14, 2018 at 03:42:49PM +0200, Eli Zaretskii wrote: > > Date: Fri, 14 Dec 2018 13:03:16 +0200 > > From: Khaled Hosny > > Cc: kaushal.modi@gmail.com, behdad@behdad.org, 33729@debbugs.gnu.org, > > far.nasiri.m@gmail.com > > > > > FWIW, I looked at ftfont.c:uni_script, and I cannot find a problem > > > with it; in particular looking up in char-script-table each character > > > of the Gujarati welcome in HELLO yields 'gujarati', so I couldn't see > > > any evident Emacs issue. Or are you saying that hb_script_from_string > > > doesn't DTRT? Or maybe Kaushal should upgrade to a newer version of > > > HarfBuzz? > > > > There is this FIXME: > > > > /* FIXME: from_string wants an ISO 15924 script tag here. */ > > > > As we discussed earlier, hb_script_from_string() expects ISO 15924 > > script tags, but char_script_table does not provide such tags (I don’t > > recall what it does provide exactly). We need a way to get ISO 15924 > > script tags from Emacs. > > Right, I forgot about that. > > So you are saying that we need to generate Gujr instead of gujarati, > is that right? Yes (and the equivalent for all other scripts, of course). Regards, Khaled