JSFiddle - React, Tailwind, and code Playground

HTML

<p dir="ltr">The SVG renderer pays no respect to the <span style="font-weight:bold;">writing-mode="rl"</span> attribute. It renders the glyphs from left to right, causing an unreadable text.</p>
	<svg version="1.1" height="220" width="190" xmlns="http://www.w3.org/2000/svg" 
     xmlns:xlink="http://www.w3.org/1999/xlink" style="overflow: hidden; margin:0px auto; width:190px; display:block;">
		<defs>
		<path id="MyPath2" d="M0,100 L200,100" />
		</defs>
		<use xlink:href="#MyPath2" fill="none" stroke="red"  />
		
		<text text-anchor="middle" dx="100" dy="0" writing-mode="rl" direction="rtl">
			<textPath xlink:href="#MyPath2" writing-mode="rl" direction="rtl">
			 הטקסט הזה ייראה הפוך
			</textPath>
		</text>		
	</svg>
<p dir="ltr" style="font-size:10px;">* only in chrome, works fine in firefox</p>

CSS

body { font-family:Arial; background:#f2ede7; }