I wrote:
> Peter constable wrote:
> > 1. the insertion point is not before a word-forming Arabic (or other
> > connective script) character, and
> > 2. some local (i.e. adjacent to the insertion point) change 
> > to the text (insertion or deletion) has occurred since the insertion
> > was  moved to its current position
> > 
> > then output a ZWJ immediately before the insertion position 
> > when rendering
> > to the screen. The ZWJ is not added to the backing store; it is just
> > inserted into the stream sent to the screen.
> 
> I think you need another condition:
> 
> 3. a word-forming Arabic (or other connective script) 
> character has just been typed.

Why don't I connect my brain before starting typing!?

Condition 1 is more than enough to prevent any possible unwanted effect, and
for limiting the effort to Arabic context only.

So Peter's algorithm is fine as it is.

Sorry!

_ Marco

Reply via email to