Test passes if the two boxes below look exactly the same.
Key to entities used below:
א ... ט - The first nine Hebrew letters (strongly RTL).
- The LRO (left-to-right override) formatting character.
- The PDF (pop directional formatting) formatting character; closes LRO.
אב גד 1. I like ה. fg hi
ab cd 2. ה is great! וז חט
אב גד 1. I like ה. fg hi
ab cd 2. ה is great! וז חט