emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bidi and shaping problems in describe-input-method


From: Kenichi Handa
Subject: Re: bidi and shaping problems in describe-input-method
Date: Fri, 09 Mar 2012 08:19:20 +0900

In article <address@hidden>, Eli Zaretskii <address@hidden> writes:

> > If we insert something unconditionally, I think inserting
> > (propertize " " 'invisible t) is safer.

> Unfortunately, this doesn't work: invisible characters are not handed
> to the shaping engine, they are silently skipped by the display
> engine.  So the characters are still joined.

No, the shaping engine checks buffer/string contents.  So,
if there's a space between A and B, the rule for shaping AB
sequence is not activated.  Please try these two:

(insert #x642 #x64C)
(insert #x642 (propertize " " 'invisible t) #x64C)

---
Kenichi Handa
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]