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#50951: 28.0.50; Urdu text is not displayed correctly Date: Mon, 05 Sep 2022 15:29:35 +0300 Message-ID: <83wnaij974.fsf@gnu.org> References: <83mtnsc63i.fsf@gnu.org> <83sfxjbox7.fsf@gnu.org> <87pmsnwlvo.fsf@igel.home> <837devbgrl.fsf@gnu.org> <8335pjbewj.fsf@gnu.org> <83zgrr9zn1.fsf@gnu.org> <87edwq7srx.fsf_-_@gnus.org> <87y1uy6mn5.fsf@zohomail.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25549"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 50951@debbugs.gnu.org To: Rah Guzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 15:13:04 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 1oVBuS-0006X4-C4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 15:13:04 +0200 Original-Received: from localhost ([::1]:49384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVBuR-0003K5-Ck for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 09:13:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVBFn-0006mH-Q6 for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 08:31:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVBFm-0004nM-RC for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 08:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVBFm-0007W3-Es for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 08:31:02 -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, 05 Sep 2022 12:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50951 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50951-submit@debbugs.gnu.org id=B50951.166238100628739 (code B ref 50951); Mon, 05 Sep 2022 12:31:02 +0000 Original-Received: (at 50951) by debbugs.gnu.org; 5 Sep 2022 12:30:06 +0000 Original-Received: from localhost ([127.0.0.1]:46721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVBEr-0007TS-TM for submit@debbugs.gnu.org; Mon, 05 Sep 2022 08:30:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVBEp-0007SV-Qg for 50951@debbugs.gnu.org; Mon, 05 Sep 2022 08:30:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVBEk-0004Js-Eu; Mon, 05 Sep 2022 08:29:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JZOVegLMZKVUpCt4yVpnAby4IQmw1O0am9T1TlnpQro=; b=deATg72byS3B fMIpwKSJiDZx1Fx/eg3o0sWOBIY2W+CJg3EPdJkEc05FWNU2v+gO1bdIOgvdPnaOIrVZezIf2WmK/ vb6qhJirekJXGBsVcGvifiuRsLHJ/J7HO82B2XPILYqXS1laI3+Z+p1Y2c6xK3w3TGCMTUNoTx0ai 82lon+9YdVFJxwGz66lgPCt1LsmvcQ0F22HD7Fr7/Tr7hyLlQOHcRMK9cSJCm5bUq0RUw+laBhYCP Hz5Noxojkd98rV5BAeycb2mtBz1zMcyvbEVjgI1gsDOhhF4/P0EKxSVL4GUXLe3SWBX2pVTtDuZNU r2//NfY2EUQoaFhH5h4Rlg==; Original-Received: from [87.69.77.57] (port=2138 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 1oVBEj-0003ZD-CG; Mon, 05 Sep 2022 08:29:57 -0400 In-Reply-To: <87y1uy6mn5.fsf@zohomail.eu> (message from Rah Guzar on Mon, 05 Sep 2022 13:57:24 +0200) 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:241561 Archived-At: > From: Rah Guzar > Cc: Eli Zaretskii , 50951@debbugs.gnu.org > Date: Mon, 05 Sep 2022 13:57:24 +0200 > > > Lars Ingebrigtsen writes: > > > I've only lightly skimmed this thread, but it seems like at least some > > of the problems were solved. Is there anything more to do here on the > > Emacs side? > > Hi Lars and Eli, > I am on emacs 28 so this might not be accurate for the development > version of emacs. Right now urdu text renders fine for me using the > default font which for me is, > > -AXIS-Zohra Unicode-normal-normal-normal-*-32-*-*-*-*-0-iso10646-1 > > So that aspect has improved. > > However if I change my font to Noto Nastaliq by evaluating, > > (set-fontset-font t 'arabic (font-spec :family "NotoNastaliqUrdu")) > > rendering is still bad. There are nastaliq fonts > (very big ones) that render fine. My experience is that if font size > is around 10 megabytes it renders fine, if the size is less than that > it has problems (on my system Noto Nastaliq is 1.1M). > > As in the thread this is specific to emacs and not a problem with > harfbuzz generally. It is unclear to me why this conclusion. Emacs uses HarfBuzz, and the only factor that could affect that, apart from selecting the font, is the setting of the current-iso639-language variable, which AFAIR Rahguzar tried setting with no success. > So situation is acceptable but needs workarounds to get a good > experience. My conclusion from this is that Noto Nastaliq is not a good font for Urdu.