efm icon indicating copy to clipboard operation
efm copied to clipboard

RTL languages support

Open fadykamal opened this issue 10 years ago • 1 comments

Ebooks like this one aren't supported https://epub-samples.googlecode.com/files/regime-anticancer-arabic-20130327.epub Are RTL language epub books will be supported soon ?

fadykamal avatar Mar 23 '14 10:03 fadykamal

Testing that sample on my webpage, I noticed two problems:

  1. The title page did not display. This had nothing to do with rtl text, but was due to an error unzipping the epub. Upgrading zip.js fixed that.

  2. Only the first page of a chapter is displayed; the rest are blank.
    I suspect this is actually a problem with Monocle, which actually lays things out, not with EFM, which is just responsible for feeding Monocle data. In this issue (https://github.com/joseph/Monocle/issues/52), haniqassim notes the same problem, and there doesn't seem to have been any resolution. This may also be relevant: https://github.com/joseph/Monocle/issues/80.

(Actually, there's probably a third problem: the page turns are backwards. But again, that's a problem with Monocle.)

I'll leave this open for now, since there's a chance that EFM will have to do something special to pass RTL text to Monocle once Monocle supports it.

rschroll avatar Mar 23 '14 19:03 rschroll