From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Raoul Comninos Newsgroups: gmane.emacs.bugs Subject: bug#36171: 25.1; Emacs displays Hebrew text incorrectly Date: Thu, 13 Jun 2019 20:39:10 +0200 Message-ID: References: <48bfd53c-4be2-836c-354f-92614e650661@mweb.co.za> <8336kg9jc1.fsf@gnu.org> <83ef3y93hw.fsf@gnu.org> <757e4990-455b-47f7-4461-5d72cc2ec368@mweb.co.za> <838su68wt4.fsf@gnu.org> <834l4u88jt.fsf@gnu.org> <83zhmlzund.fsf@gnu.org> <83o931zkyv.fsf@gnu.org> <83ftodzbat.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="44664"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 Cc: 36171@debbugs.gnu.org To: Eli Zaretskii , Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 13 20:49:37 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbUn2-000BLm-1Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2019 20:49:36 +0200 Original-Received: from localhost ([::1]:43814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbUn1-0002Zz-0I for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2019 14:49:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33511) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbUdo-0002ip-KZ for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 14:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbUdn-0001fG-4K for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 14:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbUdm-0001ey-WA for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 14:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbUdm-0003yT-If for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2019 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Raoul Comninos Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jun 2019 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36171 X-GNU-PR-Package: emacs Original-Received: via spool by 36171-submit@debbugs.gnu.org id=B36171.156045119015255 (code B ref 36171); Thu, 13 Jun 2019 18:40:02 +0000 Original-Received: (at 36171) by debbugs.gnu.org; 13 Jun 2019 18:39:50 +0000 Original-Received: from localhost ([127.0.0.1]:36090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbUdZ-0003xz-PF for submit@debbugs.gnu.org; Thu, 13 Jun 2019 14:39:50 -0400 Original-Received: from securemail-pl-omx12.synaq.com ([196.35.198.120]:35923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbUdV-0003xm-CM for 36171@debbugs.gnu.org; Thu, 13 Jun 2019 14:39:48 -0400 Original-Received: from [154.70.152.130] (helo=[10.8.3.3]) by securemail-pl-omx12.synaq.com with esmtpa (Exim 4.90_1) (envelope-from ) id 1hbUdN-000RTE-3Q; Thu, 13 Jun 2019 20:39:37 +0200 In-Reply-To: <83ftodzbat.fsf@gnu.org> Content-Language: en-US X-SYNAQ-Pinpoint-Information: Please contact SYNAQ for more information X-SYNAQ-Pinpoint-ID: 1hbUdN-000RTE-3Q X-SYNAQ-Pinpoint: Found to be clean X-SYNAQ-Pinpoint-SpamCheck: not spam, SpamAssassin (not cached, score=-1, required 7, autolearn=disabled, ALL_TRUSTED -1.00) X-Pinpoint-From: revrari@mweb.co.za X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160509 Archived-At: I have tried out several different fonts but there is no change to the problem. I still see the circles. These can be turned off if I turn off auto-composition-mode. However, though the  circles then disappear, the vowels appear incorrectly placed. They are not as poorly placed as before, but still do not all properly align beneath the consonants. Some vowels are slightly off. I added (add-to-list 'default-frame-alist '(font-backend xfthb)) to my .emacs file, but this made no difference. Below is the information you requested. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\              position: 50 of 9235 (1%), column: 7             character: ְ (displayed as ְ) (codepoint 1456, #o2660, #x5b0)               charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF)) code point in charset: 0x05B0                script: hebrew                syntax: w     which means: word              category: ^:Combining              to input: type "C-x 8 RET 5b0" or "C-x 8 RET HEBREW POINT SHEVA"           buffer code: #xD6 #xB0             file code: #xD6 #xB0 (encoded by coding system utf-8-unix)               display: composed to form "ְ" (see below) Composed using this font:   xft:-unknown-DejaVu Sans-normal-normal-normal-*-26-*-*-*-*-0-iso10646-1 by these glyphs:   [1 1 9676 3748 23 1 22 17 4 nil]   [1 1 1456 1297 0 7 9 -1 6 nil] Character code properties: customize what to show   name: HEBREW POINT SHEVA   general-category: Mn (Mark, Nonspacing)   decomposition: (1456) ('ְ') \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\              position: 41 of 9235 (0%), column: 0             character: בּ‎ (displayed as בּ‎) (codepoint 64305, #o175461, #xfb31)               charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF)) code point in charset: 0xFB31                script: hebrew                syntax: w     which means: word              category: .:Base, R:Right-to-left (strong)              to input: type "C-x 8 RET fb31" or "C-x 8 RET HEBREW LETTER BET WITH DAGESH"           buffer code: #xEF #xAC #xB1             file code: #xEF #xAC #xB1 (encoded by coding system utf-8-unix)               display: by this font (glyph code)     xft:-unknown-DejaVu Sans-normal-normal-normal-*-26-*-*-*-*-0-iso10646-1 (#x13D1) Character code properties: customize what to show   name: HEBREW LETTER BET WITH DAGESH   general-category: Lo (Letter, Other)   decomposition: (1489 1468) ('ב' 'ּ') There are text properties here:   fontified            t /////////////////////////////////////////////////////////////////////////////// On 2019/06/13 18:42, Eli Zaretskii wrote: >> From: Robert Pluim >> Cc: Raoul Comninos , 36171@debbugs.gnu.org >> Date: Thu, 13 Jun 2019 18:07:06 +0200 >> >> Eli> I don't see any such circles on my system. I tried half a dozen >> Eli> different fonts, and they all work correctly. How many fonts did you >> Eli> try? >> >> I see circles on my GNU/Linux box, but only when using the xft font >> backend, eg the second character from the left (visually) on the >> 'Aoristic perfect' line. If I put >> >> (add-to-list 'default-frame-alist '(font-backend xfthb)) >> >> in my .emacs, then everything displays correctly. > That's what I thought, thanks. So these circles are a deficiency of > FLT shaping. > >> I thought HarfBuzz was supposed to be preferred to xft? > It's supposed to, but, disappointedly, > https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00124.html > remains without a response, and therefore only the Windows build > currently prefers HarfBuzz. I still hope Yamamoto-san will respond > and describe his proposal, and we could then implement the same > behavior on all platforms.