Variable: arabic-shaper-ZWNJ-handling
arabic-shaper-ZWNJ-handling is a customizable variable defined in
misc-lang.el.gz.
Value
nil
Documentation
How to handle ZWMJ in Arabic text rendering.
This variable controls the way to handle a glyph for ZWNJ returned by the underling shaping engine.
The default value is nil, which means that the ZWNJ glyph is displayed as is.
If the value is absorb, ZWNJ is absorbed into the previous
grapheme cluster, and not displayed.
If the value is as-space, the glyph is displayed by a
thin (i.e. 1-dot width) space.
This variable was added, or its default value changed, in Emacs 26.1.
Probably introduced at or before Emacs version 26.1.
Source Code
;; Defined in /usr/src/emacs/lisp/language/misc-lang.el.gz
(defcustom arabic-shaper-ZWNJ-handling nil
"How to handle ZWMJ in Arabic text rendering.
This variable controls the way to handle a glyph for ZWNJ
returned by the underling shaping engine.
The default value is nil, which means that the ZWNJ glyph is
displayed as is.
If the value is `absorb', ZWNJ is absorbed into the previous
grapheme cluster, and not displayed.
If the value is `as-space', the glyph is displayed by a
thin (i.e. 1-dot width) space."
:group 'mule
:version "26.1"
:type '(choice
(const :tag "default" nil)
(const :tag "as space" as-space)
(const :tag "absorb" absorb))
:set (lambda (sym val)
(set-default sym val)
(clear-composition-cache)))