all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "fr_ml@t-online.de" <fr_ml@t-online.de>
Cc: 56695@debbugs.gnu.org
Subject: bug#56695: A new and old font problem with Arabic
Date: Fri, 22 Jul 2022 14:08:35 +0300	[thread overview]
Message-ID: <83edydl80c.fsf@gnu.org> (raw)
In-Reply-To: <1658477476172.1551810.eccda65c0f1753ea37e1355f26961ec46de3f906@spica.telekom.de> (fr_ml@t-online.de)

> Date: Fri, 22 Jul 2022 10:11:16 +0200 (CEST)
> From: "fr_ml@t-online.de" <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.





  reply	other threads:[~2022-07-22 11:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22  8:11 bug#56695: A new and old font problem with Arabic fr_ml
2022-07-22 11:08 ` Eli Zaretskii [this message]
     [not found]   ` <1658497265479.1589294.1e7fbe71a9c257912af2f6c3a3b45532d616817d@spica.telekom.de>
2022-07-22 14:18     ` Eli Zaretskii
2022-07-22 15:58       ` bug#56695: AW: " fr_ml
2022-07-22 16:21         ` Eli Zaretskii
2022-07-24  7:24           ` bug#56695: AW: " fr_ml
2022-07-24  8:58             ` Eli Zaretskii
2022-07-25 15:29               ` bug#56695: AW: " fr_ml
2022-07-25 16:06                 ` Eli Zaretskii
2022-07-25 20:46                   ` bug#56695: AW: " fr_ml
2022-08-13 21:58                   ` fr_ml
2022-08-14  6:20                     ` Eli Zaretskii
2022-08-14 12:11                       ` bug#56695: AW: " fr_ml

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83edydl80c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56695@debbugs.gnu.org \
    --cc=fr_ml@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.