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: Sun, 24 Jul 2022 11:58:18 +0300	[thread overview]
Message-ID: <838roihoph.fsf@gnu.org> (raw)
In-Reply-To: <1658647485367.1660023.0bfff6814be31f7bc4cfabb21b2b5c99e5f083d8@spica.telekom.de> (fr_ml@t-online.de)

> Date: Sun, 24 Jul 2022 09:24:45 +0200 (CEST)
> From: "fr_ml@t-online.de" <fr_ml@t-online.de>
> Cc: "56695@debbugs.gnu.org" <56695@debbugs.gnu.org>
> 
> (set-fontset-font "fontset-default" 'arabic "DejaVu Sans Mono") das scheint zu gehen!
> 
> I tested it with:
> --
> (set-fontset-font "fontset-default" 'arabic "DejaVu Sans Mono")
> --
> in the init file. (I hope this is right way?)

Yes, this is the right way.

> It works, Emacs uses the font correctly.
> And it seems that the positioning is then much better. The old problem is still there but not so often.

Does this mean we can close this bug?

> What I also noticed:
> When I change the font with the same function 'set-fontset-font' but without restarting Emacs I get the old positioning problem immediately or after some typing and testing.

This is expected: Emacs caches the results of previous text-shaping.
You should invoke

  M-: (clear-composition-cache) RET

to force Emacs to forget the old text-shaping results.





  reply	other threads:[~2022-07-24  8:58 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
     [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 [this message]
2022-07-25 15:29               ` 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=838roihoph.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.