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: Thu, 13 Dec 2018 22:53:36 +0200 Message-ID: <20181213205336.GG2244@macbook.localdomain> References: <20181213203102.GF2244@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 1544734344 4455 195.159.176.226 (13 Dec 2018 20:52:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2018 20:52:24 +0000 (UTC) User-Agent: Mutt/1.11.1 (2018-12-01) Cc: behdad@behdad.org, 33729@debbugs.gnu.org, far.nasiri.m@gmail.com To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 13 21:52:20 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 1gXXxz-00011u-IJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2018 21:52:19 +0100 Original-Received: from localhost ([::1]:54809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXY05-0007IR-Rf for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2018 15:54:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXXzk-0007AZ-Rt for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 15:54:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXXze-0002iE-P9 for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 15:54:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXXze-0002gR-51 for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 15:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXXze-0003Yo-2u for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2018 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Khaled Hosny Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Dec 2018 20:54:02 +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.154473442713666 (code B ref 33729); Thu, 13 Dec 2018 20:54:02 +0000 Original-Received: (at 33729) by debbugs.gnu.org; 13 Dec 2018 20:53:47 +0000 Original-Received: from localhost ([127.0.0.1]:46936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXXzP-0003YM-2O for submit@debbugs.gnu.org; Thu, 13 Dec 2018 15:53:47 -0500 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:40367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXXzO-0003Y9-0p for 33729@debbugs.gnu.org; Thu, 13 Dec 2018 15:53:46 -0500 Original-Received: by mail-wm1-f47.google.com with SMTP id q26so3756001wmf.5 for <33729@debbugs.gnu.org>; Thu, 13 Dec 2018 12:53:45 -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=4xwe32xkFcAwGc7g/aZIKI5v5ZroCBBo+J8S7AX1XHY=; b=V8F7N2sI0IZJv1GYTT/g8h/R4QrFOn+dzsUZ7x8xv1EmeyJuVtzXm4uBhDtI8ORDXM ti1cqC4iWReboEPyHRa7b2i7rzCWCbHVt3SeRMf2FSCtoLv5Hm1Q26juQZHEHvU8SZJf dVpzPkUCAwRq8OtEFlNHSEcC93ZGr8sZ6/5a5Hv9FxAWmbGWEC9TmcnuVrFx39ewLXzv j1xQlPOrzli8v43rMWNsM1ldRFzKO1GQ0ddnz8mtLg9JIQ5UfO6fG4nUin34jH/TtJQw aPe79iCQvxqenUqKpr9DYsdkYTS7AtaHUSOw/UxLh0ylFPtJXJRed6LDb6Dg3QRRks4H mydQ== 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=4xwe32xkFcAwGc7g/aZIKI5v5ZroCBBo+J8S7AX1XHY=; b=QAtgHunXdvUMnCsKRv+n93uEQ365aub+e/GhmnsN5MbzMyWsNlMzN8GXMp8TgonqiT d9Wtsa3gz7+PaVZS64L30I8j2dBr9e/vhMYEYHbjc4W8ISoV+EC0/zwcQZ519wvQHgFo kUAB4LMOwbQpQ+PZuabZy3nZ0yq404PQ4y9UxcQ5+fGWpGeonKgENZxA9ayJ2osXlH/R UypdU38eajZyBPPU+yPQokFnCA6+0BPAqqwQ7VOPBF9qK9iDiGuFmxC5/oOwHVVz5hXV YGLm5kKTQemXvKbYMY2RNT5YaXxZflcr5f3A6MMBYKDsIrpLzVz1WGSeVhldHaCSzpud 5i9w== X-Gm-Message-State: AA+aEWb1ClfULgd8Y6GE9nUhpg3pEVDz/WNkRUi51gvA9EzFr+MfN9Mv Plhk3VvFP0+ENk977G1PvFY= X-Google-Smtp-Source: AFSGD/VFCJGkZQjV7BQ46oJLGVHwATFC+ybTsIuw53RO20nDy4zvfAJ912/CEZ29tPucikFDtTTByw== X-Received: by 2002:a1c:864f:: with SMTP id i76mr835269wmd.83.1544734420065; Thu, 13 Dec 2018 12:53:40 -0800 (PST) Original-Received: from macbook.localdomain ([197.58.120.254]) by smtp.gmail.com with ESMTPSA id r69sm4773376wmd.4.2018.12.13.12.53.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 12:53:39 -0800 (PST) Content-Disposition: inline In-Reply-To: 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:153418 Archived-At: On Thu, Dec 13, 2018 at 03:43:50PM -0500, Kaushal Modi wrote: > On Thu, Dec 13, 2018 at 3:31 PM Khaled Hosny > wrote: > > > > > The HarfBuzz rendering of Arabic is the correct one in this screenshot. > > > > Thanks. So here's the status so far: > > Rendering of Namaste as seen in C-h h (M-x view-hello-file): > > | | harfbuzz | m17b | > |----------+----------+---------| > | Hindi | correct | correct | > | Gujarati | wrong | correct | > | Arabic | correct | wrong | > > > > > 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. > > The string being rendered is "નમસ્તે". I tried that font and text with hb-view and the output I get is identical to m17b. If I pass a wrong script to HarfBuzz (e.g. --script=latn), I get the same broken output you see in Emacs. So I’m guessing something is not correctly working in script itemization. Most likely the FIXME in uni_script(), or the FIXME above the call to hb_buffer_guess_segment_properties(). Regards, Khaled