Subject: bug#41506: 28.0.50; RTL problem

From: Eli Zaretskii <[email-masked]>
Date: Sat, 06 Jun 2020 11:35:06 +0300

> From: Pip Cet <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 06 Jun 2020 07:58:24 +0000
> 
> when we're called with bidi_it->first_elt = true, it's possible we
> shouldn't touch bidi_it->new_paragraph at all...

Can you elaborate on why you think that?

first_elt can be set when we are at the beginning of a paragraph or
when we are in the middle of it, so its meaning is different from that
of new_paragraph.

> +	 paragraph might start.  But don't do that for the first
> +	 element since this function will be called twice in that
> +	 case.  */

Which code causes the two calls, and why is that significant in this
case?