efm
efm copied to clipboard
RTL languages support
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 ?
Testing that sample on my webpage, I noticed two problems:
-
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.
-
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.