From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#50951: 28.0.50; Urdu text is not displayed correctly Date: Thu, 08 Sep 2022 11:36:31 +0530 Message-ID: <87o7vqxuvs.fsf@gmail.com> 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> 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="15393"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: rahguzar@zohomail.eu, larsi@gnus.org, 50951@debbugs.gnu.org, YAMAMOTO Mitsuharu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 08 08:10:57 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 1oWAkb-0003nh-K0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 08:10:57 +0200 Original-Received: from localhost ([::1]:35820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWAka-0001nw-BB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 02:10:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWAgo-0008Mk-H4 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 02:07:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWAgo-0005dy-54 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 02:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWAgn-0002ho-Qr for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2022 02:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2022 06:07: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.166261721010381 (code B ref 50951); Thu, 08 Sep 2022 06:07:01 +0000 Original-Received: (at 50951) by debbugs.gnu.org; 8 Sep 2022 06:06:50 +0000 Original-Received: from localhost ([127.0.0.1]:57006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWAgb-0002hN-QE for submit@debbugs.gnu.org; Thu, 08 Sep 2022 02:06:50 -0400 Original-Received: from mail-pj1-f67.google.com ([209.85.216.67]:43522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWAgZ-0002h9-7t for 50951@debbugs.gnu.org; Thu, 08 Sep 2022 02:06:48 -0400 Original-Received: by mail-pj1-f67.google.com with SMTP id z9-20020a17090a468900b001ffff693b27so1305605pjf.2 for <50951@debbugs.gnu.org>; Wed, 07 Sep 2022 23:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=AJwSDoNEKTGN3rO8LhaHoqvAGkZd0XpNCsgnu6Pylhc=; b=FD278Az065fkZLvMy7Vs8is17Fi4ILmvEeaBzFllzGpIXcyC738dwGzTwXGXT0iL/U zMAVvatxDflZ8j3M12no5uE5gYSFhVf9PryTpn2y/rher9ONgC3PdvtYBAlu0KOY/3rz XIBquUfZbsApZRFuYeZiPiSEdUF0Mqrdu7mpph7y6Y1GXkjLjx0UrmxFfr1OnvyUtE8a B8A3lQzTBM8Q582niT6ilS62hm1mVi2ffNAifTkrkZj6nZIH71hwoNJc2RbHliP0hHFC D3gpCpcppjvZ22UbhEEmXjTXJwWbPDaw+LGfoDWS+pPd0a1tqPZ2Mjuxvyn3RcGZJyB9 +imQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=AJwSDoNEKTGN3rO8LhaHoqvAGkZd0XpNCsgnu6Pylhc=; b=p62r+g1f18FWjnFdJjyHr0CPsULiY9lzwhmiOLN3CNrbXaMDCXzriCOaWwP5gwBVVK Y90dMwc2zZS8bxHX6yRNz+t2CRZkdgvhSYGyj9RcELsu6jcigBPFsPHGFVWmY0XYPgzP 9QCDvJQF4Oy/qBuZBDzvLhQhEmXMXnG+qQIRT6Mw440xqrn/d6HXJ2cAMLsUnMCRsiDi 44CBlaMmTrt7kfi0mZY2kSOQ9xYrVCXdsz5EpChLzLV5URnxhNkeg1CZn6mTB60wwqri UTl1v0hOIedJT16Me8e6lOx4cJfh3MaI3RRtHRIvNueI6Jf88Yw2pilWz/C1/R3tzeWB am+w== X-Gm-Message-State: ACgBeo0syRIfRb+nvBm7bru9fqYsX9/QsPPTIfPaGfe0EbedQTFV/oGK 5uo1JWZoxeLUM0+00EtzxAM= X-Google-Smtp-Source: AA6agR5/coIYCVI99QIofgrE++C5UMeh6v70ypJ/bF2zLLxK+myDG7JxOQcwHfXT9+5JtNxoIKzUgQ== X-Received: by 2002:a17:902:eb91:b0:176:90a:8bb with SMTP id q17-20020a170902eb9100b00176090a08bbmr7287966plg.28.1662617201074; Wed, 07 Sep 2022 23:06:41 -0700 (PDT) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id e11-20020a170902784b00b00176dac464e5sm4625461pln.173.2022.09.07.23.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 23:06:40 -0700 (PDT) In-Reply-To: <835yhzifuw.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Sep 2022 14:27:51 +0300") 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:241826 Archived-At: [=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] E= li Zaretskii wrote: >> Date: Wed, 07 Sep 2022 15:18:21 +0900 >> From: YAMAMOTO Mitsuharu >> Cc: Eli Zaretskii , >> larsi@gnus.org, >> 50951@debbugs.gnu.org >>=20 >> 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