From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.bugs Subject: bug#41005: problem with rendering Persian text in Emacs 27 Date: Tue, 21 Jul 2020 22:12:19 -0400 Organization: GNU Message-ID: <87o8o8jo1o.fsf@gnu.org> References: <831rmwc9ke.fsf@gnu.org> <35A46479-A62C-42FF-995B-B295FE3408C0@gnu.org> <08A9D65F-0C9C-4EE2-B3B9-2AA25BFFAD54@gnu.org> <878sh35j6f.fsf@gmail.com> <83y2p3as6c.fsf@gnu.org> <87pnae4nhx.fsf@gmail.com> <83ftbaaql5.fsf@gnu.org> <87eeqt3nww.fsf@gmail.com> <83bllxbuxq.fsf@gnu.org> <87mu3txcpz.fsf@gnu.org> <871rl4u54a.fsf@gnu.org> <83zh7sg1v9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1673"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rpluim@gmail.com, valizadeh.ho@gmail.com, 41005@debbugs.gnu.org, pipcet@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 22 04:13:12 2020 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 1jy4Fr-0000IO-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jul 2020 04:13:11 +0200 Original-Received: from localhost ([::1]:49014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jy4Fp-00031i-NK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jul 2020 22:13:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jy4Fi-00031a-Rl for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2020 22:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jy4Fi-0001wt-Ic for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2020 22:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jy4Fi-0000Xp-ET for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2020 22:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jul 2020 02:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41005 X-GNU-PR-Package: emacs Original-Received: via spool by 41005-submit@debbugs.gnu.org id=B41005.15953839502041 (code B ref 41005); Wed, 22 Jul 2020 02:13:02 +0000 Original-Received: (at 41005) by debbugs.gnu.org; 22 Jul 2020 02:12:30 +0000 Original-Received: from localhost ([127.0.0.1]:40824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jy4FC-0000Wq-Ee for submit@debbugs.gnu.org; Tue, 21 Jul 2020 22:12:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jy4F8-0000WZ-Ij for 41005@debbugs.gnu.org; Tue, 21 Jul 2020 22:12:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39990) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jy4F3-0001tC-BY; Tue, 21 Jul 2020 22:12:21 -0400 Original-Received: from [2607:fea8:3fe0:17d::7] (port=59940 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jy4F2-0004xp-MM; Tue, 21 Jul 2020 22:12:20 -0400 In-Reply-To: <83zh7sg1v9.fsf@gnu.org> 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:183371 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Amin Bandali >> Cc: Eli Zaretskii , valizadeh.ho@gmail.com, >> 41005@debbugs.gnu.org, Pip Cet >> Date: Tue, 21 Jul 2020 13:53:25 -0400 >>=20 >> Lastly, it might be worth mentioning that if I recall correctly, when >> using xfthb with emacs-27, I observe the same issue. Which may suggest >> that perhaps the issue is related to Emacs's HarfBuzz support. > > But that's exactly the configuration that was fixed... > It is strange. I did some more testing. Whether with xfthb (emacs-27) or ftcrhb (master), it seems like typing in Persian in *scratch* works okay. However, if I paste (yank) Persian text, e.g. from Wikipedia, into *scratch*, the issue surfaces and yanked text is garbled. Further, Persian text in Gnus's article-mode and in message-mode is always garbled to begin with. It does seem like a HarfBuzz issue to me. Please feel free to grab the Vazir font and test for yourself. Hossein, do you also get this behaviour with Emacs's HarfBuzz? Any other users using Emacs for Persian or Arabic? I wonder if this issue happens for other right-to-left languages, e.g. Hebrew. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl8XoIMQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8h5RD/0aY3hs+0/OhcoS0fIlwdRvl41kbPDnNruX BfB2/VDW+ni/WkG4Lrw79Zz3bqFm5VHF4f3RIE08/RxA67MXLnWpQXNaMxLbMKwf QQ/Jf+uh581tmqVpdxeLqgBXahRs3i5no2ScRtJt+C9C40zC3KUIjQ4mmo7+GEt5 T3hzBfW4z0ruKrLjreSpT509y6Hnska5s9MmCuc7IcSBfAd/PKgxKX+ukIAWNh2u AfrOeDs2ymr1NecPUmT0JfyvxT1QRzVxFIWxWGoKZA2VGDodckqxqC3S1m7KrAi7 GAoAEjbysmIsfDsXnhYcLtcOIIywIFklb784xZDXmEyRUGNOyQOY67eBmrsl1Hx0 wdTonH/ZI3Z+Gn4BHg2WH4fu76BvQPlsnNWVSgqALpZDPYnsvVUdOB+GqpJK4GiX qju6v9lTGRhwHD0jbVwP0to4nFIYAN0KoImsocKt5d1mGWAw9EAJjGkmlRFV7lGv OUjqz8//U3PLhx+F4SVntaFWo3s717K6g+eonapTNN0XgEwbTiCQub2e+xg3LWkW fXpTv8Q32b6i6tTxl4Fl9QyNIcUSHQxhyAre69UfLPnGwRXH81ro7l3v2Ap4zcAm eeACOctoZaElnBqk4BqkCpKm+E2cDufXVfMSkA7m98ofz43LEoerLpj3owK9kKPQ QPqLkaw/Kg== =UzIo -----END PGP SIGNATURE----- --=-=-=--