From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56695: A new and old font problem with Arabic Date: Fri, 22 Jul 2022 14:08:35 +0300 Message-ID: <83edydl80c.fsf@gnu.org> References: <1658477476172.1551810.eccda65c0f1753ea37e1355f26961ec46de3f906@spica.telekom.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20897"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56695@debbugs.gnu.org To: "fr_ml@t-online.de" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 22 13:11:28 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 1oEqZ6-0005GH-8i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jul 2022 13:11:28 +0200 Original-Received: from localhost ([::1]:54444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEqYy-0001H4-MZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jul 2022 07:11:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEqWk-0001FK-Lx for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2022 07:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEqWk-0005w6-4t for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2022 07:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEqWk-0005g3-0Q for bug-gnu-emacs@gnu.org; Fri, 22 Jul 2022 07:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jul 2022 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56695 X-GNU-PR-Package: emacs Original-Received: via spool by 56695-submit@debbugs.gnu.org id=B56695.165848813121805 (code B ref 56695); Fri, 22 Jul 2022 11:09:01 +0000 Original-Received: (at 56695) by debbugs.gnu.org; 22 Jul 2022 11:08:51 +0000 Original-Received: from localhost ([127.0.0.1]:40240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEqWZ-0005fd-2T for submit@debbugs.gnu.org; Fri, 22 Jul 2022 07:08:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEqWW-0005fM-RX for 56695@debbugs.gnu.org; Fri, 22 Jul 2022 07:08:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEqWR-0005ta-I9; Fri, 22 Jul 2022 07:08:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sW8xlae4TijRU0xENPkcYJURWChn3DZ5AGF+40me3po=; b=GInE+ecOh/2lJmcqpX42 DK88JgoaqZ+HfeETOgl1yohXqR7QiittlUisQSUO9Xf+yOtBmxRxVSHFIqEnxLKdgdUFB5qpXNwZv kO1E3BSZREH1gLdEkVzO1YKsmbh/2tcfKZWTnMPCMA42TUTgaLZqOvEEc6REOcaSYyJX9rxXlVZLY W8tGhRYuQrqHhf+kPNGnRCc2CBDUm0M7OhGnOhAV9mMIDo3i4t15z9sdvWQjiC845+LoytKkwPa6y +I1XemGenMWS8k++UPmhB+1/1UvhXQSfF93h2Oupoi0nl8q24ouLl6615h902uqwWY/vLKG3hrZyB wMEqrIOlghY6eQ==; Original-Received: from [87.69.77.57] (port=2398 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEqWN-000493-NC; Fri, 22 Jul 2022 07:08:40 -0400 In-Reply-To: <1658477476172.1551810.eccda65c0f1753ea37e1355f26961ec46de3f906@spica.telekom.de> (fr_ml@t-online.de) 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:237611 Archived-At: > Date: Fri, 22 Jul 2022 10:11:16 +0200 (CEST) > From: "fr_ml@t-online.de" > > 1. I can't change the Arabic characters to the font of DejaVu Sans > Mono (or others). This wasn't a problem before. What do you mean by "cannot change"? What happens if you try? Please show the exact sequence of commands or Lisp code you used, and any error messages or incorrect effects you see when you do that. > 2. The old one: As you can see the glyphs aren't correct, the '-' > after س is not correctly placed. It's in the place of the glyph of > س. Sometimes I have the opposite problem: gaps between the > characters. It depends usually of 'text-scale-adjust', if I change > the scale the problem can disappear. > > (Of course I started Emacs with the '-Q' option.) > > Attachment: To see the difference: a screenshot in Word/LibreOffice Writer: > In LibreOffice: > 1. The font is correct (also for the Arabic characters) > 2. The '-' is at the correct place > > Can Harfbuzz be a problem? In the older emacs version (maybe 3 or 4 years ago?) I never had these > problems. I don't know, because critical information is missing: . on what OS is that? . what is the version of HarfBuzz you have installed? . what is the text that is not displayed correctly? (please provide it as plain text that can be copied and examined, not as an image) . what does Emacs say when you go to the characters involved in this display and type "C-u C-x ="? In general DejaVu Sans is known as a problematic font for complex text shaping (which is required for Arabic), so my advice is to use some other font as the default. Thanks.