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: Fri, 14 Dec 2018 09:50:56 +0200 Message-ID: <20181214075056.GI2244@macbook.localdomain> References: <20181213203102.GF2244@macbook.localdomain> <83h8fghcpo.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1544773807 31371 195.159.176.226 (14 Dec 2018 07:50:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2018 07:50:07 +0000 (UTC) User-Agent: Mutt/1.11.1 (2018-12-01) Cc: behdad@behdad.org, Kaushal Modi , 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 08:50:03 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 1gXiEU-00083Z-TC for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 08:50:03 +0100 Original-Received: from localhost ([::1]:59845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXiGb-0002dR-9J for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 02:52:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXiGU-0002dE-7Z for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:52:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXiGQ-0006YQ-71 for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:52:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXiGQ-0006YK-0I for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXiGP-0004ZS-Uo for bug-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:52: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 07:52: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.154477386917498 (code B ref 33729); Fri, 14 Dec 2018 07:52:01 +0000 Original-Received: (at 33729) by debbugs.gnu.org; 14 Dec 2018 07:51:09 +0000 Original-Received: from localhost ([127.0.0.1]:47253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXiFZ-0004YA-1i for submit@debbugs.gnu.org; Fri, 14 Dec 2018 02:51:09 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:41019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXiFW-0004Xd-Jq for 33729@debbugs.gnu.org; Fri, 14 Dec 2018 02:51:07 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id x10so4433370wrs.8 for <33729@debbugs.gnu.org>; Thu, 13 Dec 2018 23:51:06 -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:in-reply-to:user-agent; bh=2EhnsLXf16PIk49rid2dop6LbhX1stDWTDO7cqfCidU=; b=WJdEX+N6EtOgXlPbG44mBRHgK18y6GfAz6RhM3wd9Er7mfojrZXUmI0lYzrIyV0in7 r3hIHHhOOzdaqG9psqBMJnwGIni1wjDLf2HmkxLjeYdm/JlU/ici1FLh2hpQJJt7OR7p o+Of4VX1mELRqKav/lq1/Le7yuNCyBFRJWSGTLumHbITjI3X4ZYx+dKs1ZGCWNg1AvPS egCDydmAiYxxtGGVKmsPlL4sGSOemAFKHCfl7k4/OjpFuFiTKJhgOuuQQ56zTuJ12lYO 6w2rBqECRknscAMPcsZehAUKAXht2O0rHKs/t+KUdF8ZBkFA9TkwJULpyR2zGIUfI3jz HQCQ== 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:in-reply-to:user-agent; bh=2EhnsLXf16PIk49rid2dop6LbhX1stDWTDO7cqfCidU=; b=K5UiLfL50Hoe5tJEpFBArKuejGviLbiYBF4gLCIhL16L+lY3i44LAeqIoCPOOA+KHb ZhNi7Z0upTTD30v1xzlhmP/JJZB7dFpQH+Q6sVXL1hcPOpzO5AZB+Rs0nJya9cEhqsLP dFJaBIO9vPmAnDItdItRl6NsSVXNP8uljD3TCi5THVcguwCgYFmQAgOgW+ZUecHROnkd dchq+kBILc11ZzsKyYBNfWITa2Kb65+LtWLGtpZIZF7ESzzhNTRIocAKurscbbaowVvn YHC+QzVPLXec6SwVB2bbdTF3ea4TCdgG/Nbn6VHb9UQK7PSkzg62HXCYzfCejv9nY4xv 0Oyg== X-Gm-Message-State: AA+aEWa8FbuXjeyl/nNd7GRAiu0HNge5pz+0X4jQyOpFAX0yxs6ZDSIP Lhyyrd/utGcsltepWzCX4p4= X-Google-Smtp-Source: AFSGD/WC8IJ97o2R9Lb0JYk/iUpgwdvbrie8LXocOOIZ4r57oRW4m6iPkcre8YI8DQJhS/ITI7T/nw== X-Received: by 2002:adf:c711:: with SMTP id k17mr1553771wrg.197.1544773860672; Thu, 13 Dec 2018 23:51:00 -0800 (PST) Original-Received: from macbook.localdomain ([197.58.120.254]) by smtp.gmail.com with ESMTPSA id f66sm4312371wmd.28.2018.12.13.23.50.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 23:50:59 -0800 (PST) Content-Disposition: inline In-Reply-To: <83h8fghcpo.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:153436 Archived-At: On Fri, Dec 14, 2018 at 07:57:55AM +0200, Eli Zaretskii wrote: > > From: Kaushal Modi > > Date: Thu, 13 Dec 2018 15:43:50 -0500 > > Cc: behdad@behdad.org, 33729@debbugs.gnu.org, far.nasiri.m@gmail.com > > > > For debugging the such rendering differences, the actual font used by > > Emacs for a given part of the text need to be known, > > > > I am using Mukta Vaani font for Gujarati. It is a free font and be downloaded from > > https://ektype.in/mukta-vaani.html. > > Your data indicates that the m17n build performs character composition > at buffer position 34, whereas the harfbuzz build does not. The > question is why. See my earlier email, most likely the culprit is the broken Emacs to HarfBuzz script code mapping that we discussed earlier. HarfBuzz needs to know the correct script of the text to perform shaping, and it looks like we are passing nonsense values for certain scripts (or rather for certain scripts we are lucky that the mapping is not broken).