> UAX#9 is totally silent regarding the _display_ of the formatting
> characters. If you just go by the book, you will reorder the above
> text as
> ... here STNETNOC L2R [RLE] [PDF].
> because RLE has the same level as the embedding, while PDF has the
> level of the outer text. That is why bidi.c artificially enlarges the
> level of PDF to make it part of the embedding. You will see a comment
> about this near the end of bidi.c:bidi_level_of_next_char.
I see. Thank you for the explanation. I agree that the
current way better at least for editting.