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: Fwd: bug#50951: 28.0.50; Urdu text is not displayed correctly Date: Sat, 02 Oct 2021 16:09:31 +0300 Message-ID: <83mtnrbmk4.fsf@gnu.org> References: <83mtnsc63i.fsf@gnu.org> <83sfxjbox7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10926"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50951@debbugs.gnu.org To: Rah Guzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 15:22:33 2021 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 1mWeyH-0002eh-Jd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 15:22:33 +0200 Original-Received: from localhost ([::1]:59580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWeyG-0000Yq-2f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 09:22:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWemA-0001jx-Nf for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWemA-0003eH-9X for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWemA-0001sB-3y for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:10: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: Sat, 02 Oct 2021 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50951 X-GNU-PR-Package: emacs Original-Received: via spool by 50951-submit@debbugs.gnu.org id=B50951.16331801967179 (code B ref 50951); Sat, 02 Oct 2021 13:10:02 +0000 Original-Received: (at 50951) by debbugs.gnu.org; 2 Oct 2021 13:09:56 +0000 Original-Received: from localhost ([127.0.0.1]:58234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWem4-0001rj-7f for submit@debbugs.gnu.org; Sat, 02 Oct 2021 09:09:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWem2-0001rV-P5 for 50951@debbugs.gnu.org; Sat, 02 Oct 2021 09:09:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52622) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWelx-0003HL-KQ; Sat, 02 Oct 2021 09:09:49 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1032 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 1mWelx-0002HV-55; Sat, 02 Oct 2021 09:09:49 -0400 In-Reply-To: (message from Rah Guzar on Sat, 2 Oct 2021 14:47:37 +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:216145 Archived-At: > From: Rah Guzar > Date: Sat, 2 Oct 2021 14:47:37 +0200 > Cc: 50951@debbugs.gnu.org > > On Sat, Oct 2, 2021 at 2:18 PM Eli Zaretskii wrote: > > What font displays them individually? You should be able to tell that > if you type "C-u C-x =" on one of these characters. > > This is the default font that `emacs -Q` chooses. Using "C-u C-x =" I see, > > ftcrhb:-PfEd-DejaVu Sans-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#x56F) I guess that font is problematic (in more than one way). > So would it be correct to say that using a proper font solves the > problem? > > This is almost correct except that the font (NotoNastaliqUrdu) that causes problems with emacs > works fine in libreoffice and both use harfbuzz. The way to investigate such problems is to see what does hb-view, a program that is part of the HarfBuzz installation, produce for the same text with the same font. If hb-view produces correct display, but Emacs doesn't, then the problem is indeed in Emacs; otherwise the problem is probably with the font, and in any case should be taken up with the HarfBuzz developers. (Are you sure that LibreOffice uses NotoNastaliqUrdu for the text you type there? They could use a different font under the hood.)