From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rah Guzar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50951: 28.0.50; Urdu text is not displayed correctly Date: Sat, 17 Sep 2022 18:37:39 +0200 Message-ID: <87mtayymk5.fsf@zohomail.eu> 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> <83wnaij974.fsf@gnu.org> <87tu5m6jrw.fsf@zohomail.eu> <835yhzifuw.fsf@gnu.org> <87o7vqxuvs.fsf@gmail.com> <87h71gwpr5.fsf@zohomail.eu> Reply-To: Rah Guzar Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18862"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 28.1.50 Cc: 50951@debbugs.gnu.org, Eli Zaretskii , larsi@gnus.org, YAMAMOTO Mitsuharu , Visuwesh To: Rah Guzar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 18:49:34 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 1oZb0Y-0004jR-Ab for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 18:49:34 +0200 Original-Received: from localhost ([::1]:43768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZb0W-0008Pq-VI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 12:49:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZb04-0008Mi-7O for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 12:49:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZb03-0004wM-7A for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 12:49:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZb03-0006Sx-0Z for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 12:49:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rah Guzar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 16:49: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.166343332324816 (code B ref 50951); Sat, 17 Sep 2022 16:49:02 +0000 Original-Received: (at 50951) by debbugs.gnu.org; 17 Sep 2022 16:48:43 +0000 Original-Received: from localhost ([127.0.0.1]:47046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZazi-0006SC-UZ for submit@debbugs.gnu.org; Sat, 17 Sep 2022 12:48:43 -0400 Original-Received: from sender11-pp-o93.zoho.eu ([31.186.226.251]:25831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZazc-0006Rx-EP for 50951@debbugs.gnu.org; Sat, 17 Sep 2022 12:48:40 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1663433296; cv=none; d=zohomail.eu; s=zohoarc; b=HVTJz+5IJZLaGlnWEzBIUfAXQLw5fgjBtaj/RoMtd4EhIFgnKatkKKYcE3h2iQcMGct7mC91PpwFd5CkeINUSVz5qWioIBUETqwR6/ktVFVeBV1zFGXpQyCunglWtOMoigRTCDx3UT5Q/m+IpPo62BXLrBs2FoQ0LGB4sVmXvrI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1663433296; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=UPoc7XnsO4huskDTQ+dwBmOM1ft9Oet71H7N4ARMVGA=; b=a/hlcVQ7/uY4MMAohwkQcmTSNNvZCB5/UHB/ALVLNEathnhF3Zw94E/nM6TdsK1mLxfAIU549kMe60GFOUAzGjBi7K7BZH8LNHZSJSoAPpBehlCewRMqC8iZdAx+5DlRx59c0/z+97o/5NK4rLIfqhDL5paJUPhTpLpux3/Haho= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=rahguzar@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1663433296; s=zoho; d=zohomail.eu; i=rahguzar@zohomail.eu; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=UPoc7XnsO4huskDTQ+dwBmOM1ft9Oet71H7N4ARMVGA=; b=It/dAhDHB4Lr1J9t9vrV2eK9WmPgpTm8nXYNHfU86p9/dqcp9FGwnE7QeASLagoO c1jlnQaZoTLjomBVNy1iyVO5p7X6AtjLsA+gwdFfDh9OSZrv6ipAqMUNQCMKBg9bLTy YWOUDfd3zQSGSraBO1/JcBqOJF0YGY+Q0JeHBfpU= Original-Received: from localhost (c-9190225c.020-1112-7570702.bbcust.telenor.se [92.34.144.145]) by mx.zoho.eu with SMTPS id 1663433293462762.6540046301119; Sat, 17 Sep 2022 18:48:13 +0200 (CEST) In-reply-to: <87h71gwpr5.fsf@zohomail.eu> X-ZohoMailClient: External 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:242884 Archived-At: I finally tested the patches and both of them improve the situation by a lot but problems still remain. One word that is not rendered by accurately by them is =DB=81=D9=86=DA=AF=D8=A7=D9=85 Where is problem is fourth character which is character: =DA=AF=E2=80=8E (displayed as =DA=AF=E2=80=8E) (codepoin= t 1711, #o3257, #x6af) charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+F= FFF)) code point in charset: 0x06AF script: arabic This character should be rendered as a circle and two slanted lines which seem to get clipped. Both the patches seem to have the same effect, except that with the first one above a threshold I have seen a newline not getting rendered so what should be two lines appear as one. This doesn't happen with the second patch. Rah Guzar Rah Guzar writes: > Unfortunately I have very limited experience with building software and > none at all with applying patches so testing this will be a non-trivial > undertaking. I will try to do this next weekend. > > But what Visuwesh describes seem exactly the symptoms I was experiencing > so I am pretty positive that it will work for me too. So thank you very > much indeed! > > Rah Guzar > > Visuwesh writes: > >> [=E0=AE=AA=E0=AF=81=E0=AE=A4=E0=AE=A9=E0=AF=8D =E0=AE=9A=E0=AF=86=E0=AE= =AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=AF=8D 07, 2022= ] Eli Zaretskii wrote: >> >>>> Date: Wed, 07 Sep 2022 15:18:21 +0900 >>>> From: YAMAMOTO Mitsuharu >>>> Cc: Eli Zaretskii , >>>> larsi@gnus.org, >>>> 50951@debbugs.gnu.org >>>> >>>> Probably the following change will fix the problem: >>> >>> Thanks. Rah Guzar, can you try one of these changes and see if they >>> fix the problem? >> >> Not sure about Rah Guzar, but it squashes bug#54646 for me. Thank you >> so very much, Yamamoto Mitsuharu! >> >> With regards to the performance, my eyes say that patch no. 1 (i.e., the >> one that patches src/hbfont.c) is slightly faster than patch no. 2 when >> I continually zoomed to reproduce bug#54646. The test material was this >> random webpage https://www.dinamalar.com/news_detail.asp?id=3D3117719, >> and M-x report-emacs-bug report on the Emacs with the patch is at the >> end. >> The test that I used is the same as I outlined in bug#54646, namely, >> visit that webpage in eww, zoom in and out with C-scroll-wheel. The >> glyphs _do not_ bump into each other or get weirdly placed whereas >> without the patch, glyphs can be oddly spaced. >> >> In GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, X toolkit, cairo >> version 1.16.0, Xaw scroll bars) of 2022-09-08 built on astatine >> Repository revision: 9219e83b3c0ef53df02caf4c8ba38f482937ab50 >> Repository branch: master >> Windowing system distributor 'The X.Org Foundation', version 11.0.121010= 04 >> System Description: Debian GNU/Linux bookworm/sid >> >> Configured using: >> 'configure --with-sound=3Dalsa --with-x-toolkit=3Dlucid --with-json >> --without-xaw3d --without-gconf --without-libsystemd' >> >> Configured features: >> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG >> JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG >> SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM >> XINPUT2 XPM LUCID ZLIB >> >> Important settings: >> value of $LC_MONETARY: ta_IN.UTF-8 >> value of $LC_NUMERIC: ta_IN.UTF-8 >> value of $LANG: en_GB.UTF-8 >> locale-coding-system: utf-8-unix