demo · v140
Arabic Equations
Arabic mathematical notation reads right-to-left, and operators have to mirror — but not all of them with a simple horizontal flip. Some get a different Unicode codepoint (parentheses), others rely on the rtlm OpenType feature for glyph-level mirroring. Toggle direction to see both layers at work.
direction:
character-level mirroring — parentheses
visible glyph (dir aware)
opens U+0028 LEFT PARENTHESIS / closes U+0029 — in rtl the browser swaps to opens U+0029 → closes U+0028 via Unicode Bidi_Mirrored.
integral
U+222E contour integral — asymmetric arrow. Browser uses the rtlm OpenType feature to mirror the glyph rather than swap codepoints.
Switch direction. Watch the parens swap codepoint; watch the integral hook reverse via the font's rtlm feature.
<math display="block" dir="rtl">
<mo>∮</mo> <!-- contour integral, mirrored via rtlm -->
<mfenced open="(" close=")">
<mi>x</mi>
</mfenced> <!-- parens character-mirrored to ) / ( -->
</math>