Hebrew Text Direction Issue

Learn / Forums / EPUB and eBook / Hebrew Text Direction Issue

Viewing 3 reply threads
  • Author
    Posts
    • #98705
      Aaron Troia
      Participant

      This might be super confusing, but I’m working on an ebook with Hebrew characters which hve been entered in the correct order from right to left (but entered in left to right) and I believe the Hebrew characters exported from InDesign correctly, but now Chrome and ADE display the characters in a reversed order like it sees they are Hebrew and is trying to reverse them to read correctly, but I want them to read from the left to right direction so they display correctly from right to left. I tried using the CSS direction attribute to try and revers the direction of the text from what is displaying but ePC throws an error that it’s not supported.

      Here is the display in the print:
      https://www.dropbox.com/s/bw2hxkxe3akw3f3/print.png?dl=0

      Here is the display in HTML:
      https://www.dropbox.com/s/w6vnfgc046pypq2/HTML.png?dl=0

      Here is the display in Chrome/ADE:
      https://www.dropbox.com/s/mtbopf9862ly1xu/chrome.png?dl=0

    • #98707
      Aaron Troia
      Participant

      After searching some more, I found a handy tag to fix this, <bdo dir="ltr">text</bdo> changes the direction with no errors from ePC https://www.w3schools.com/tags/tag_bdo.asp

    • #98708
      Aaron Troia
      Participant

      Well after some testing, the <bdo> tag works in Chrome/ADE/iBooks but appears to be ignored by Kindle devices.

    • #98709
      Aaron Troia
      Participant

      It appears Kindle devices do not respond to HTML tags or CSS to change text from LTR to RTL, you have to manually change the direction of the Hebrew characters so they are in the reverse order for Hebrew to display correctly on Kindle devices. It seems by default Hebrew characters are displayed in RTL order and I havent found a way to disable that or keep it from happening.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
>