That's pretty easily done with css by setting the direction:rtl for a particular line.
There are some caveats:
- you can only designate a paragraph, div, or table row, etc. as rtl. You can't designate a particular line as rtl if the paragraph spans more than one line. And you can't know how many lines a paragraph will use with a reflowable epub especially when the user can change font size, margin size, and orientation (landscape/portrait)
- some devices might not support the css so you would have to play around with which one works. Attached are two different ways you can try...personally I prefer the nth-child method but your device may not support it.
Last edited by Turtle91; 10-22-2022 at 09:59 AM.
|