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: Fri, 09 Sep 2022 17:00:37 +0200 Message-ID: <87h71gwpr5.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> 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="9638"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 28.1.50 Cc: rahguzar@zohomail.eu, Eli Zaretskii , larsi@gnus.org, YAMAMOTO Mitsuharu , 50951@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 09 17:08:22 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 1oWfcC-0002FR-OC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 17:08:20 +0200 Original-Received: from localhost ([::1]:58292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWfcB-0002uw-NY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Sep 2022 11:08:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWfbu-0002u7-EE for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 11:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWfbu-0001pf-5K for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 11:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWfbu-00038g-0m for bug-gnu-emacs@gnu.org; Fri, 09 Sep 2022 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rah Guzar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2022 15:08:01 +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.166273605112028 (code B ref 50951); Fri, 09 Sep 2022 15:08:01 +0000 Original-Received: (at 50951) by debbugs.gnu.org; 9 Sep 2022 15:07:31 +0000 Original-Received: from localhost ([127.0.0.1]:35004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWfbO-00037u-UD for submit@debbugs.gnu.org; Fri, 09 Sep 2022 11:07:31 -0400 Original-Received: from sender11-pp-o93.zoho.eu ([31.186.226.251]:25888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWfbM-00037k-2H for 50951@debbugs.gnu.org; Fri, 09 Sep 2022 11:07:29 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1662736034; cv=none; d=zohomail.eu; s=zohoarc; b=g6H1+5rVcNfu9d7oC/rm5rlSdkq5OOzikedipAtvdVWapN62t0TtxfrCG2fSspEm6p3VL7A6sFaAXeC5Y41Uut9vB+hcCmVO2A2h+yJyoilEJPNU78JOvJDOAYEKzoSCgWJuhGbpiFO78hk6FdOpKQAQFpgObRXOfKDiW1Fs3a4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1662736034; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=xDxpzaop7B9QGbLqvel745whop66XoXtTChnSLjUp2g=; b=dlpA8/IwueI0d7Sa2fo8Ut0KRNX6ZfJeYB6ERnPfWXq5PVUEkeaVOpqq4rvbeB/aKoMyGdtIsJsBU4j/sSVWyaJHwn6lwP03Z8x2kKkmoMKX9gAdRIQKJg8V4X+2wQpcc0AFT5iJdq1Kxfs6dhJFo1NGE1YHno6rMX5OJXEXrf4= 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=1662736034; 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=xDxpzaop7B9QGbLqvel745whop66XoXtTChnSLjUp2g=; b=rRaKVl1XuVYqZ8nKkSKNmt8gh/hvqIJXmRLeVMLhsTtWsSieQmGx32U3tkcLRWVH 4MKRt+B3BR181sqlomHwvIc3L5dHSPrUOAuxWZPqcN/MkZreaGIUUzTLMbpIEshUEgs SVOh55C0Ef1Vs66nFMDTfO2LvH9lmOEpquzJLd40= Original-Received: from localhost (emp-50-83.eduroam.uu.se [130.238.50.83]) by mx.zoho.eu with SMTPS id 1662736032194791.0152555353695; Fri, 9 Sep 2022 17:07:12 +0200 (CEST) In-reply-to: <87o7vqxuvs.fsf@gmail.com> 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:241984 Archived-At: 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.12101004 > 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