View Single Post
Old 02-22-2016, 05:40 AM   #1354
Jean-Marie
Mantano President&Founder
Jean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the roughJean-Marie is a jewel in the rough
 
Jean-Marie's Avatar
 
Posts: 49
Karma: 7396
Join Date: Sep 2011
Location: Paris
Device: Many, many...
Quote:
Originally Posted by DiapDealer View Post
Is there any trick to get hyphenation going in the EPUB3 reading engine, or is it unsupported? I check the hyphenation box but it doesn't seem to have any effect. I've checked to make sure the ebook's CSS isn't manually disabling hyphenation (as well as experimenting with the various CSS hyphenation settings) but nothing seems to get it working.

Hyphenation works fine in the EPUB2 renderer, though.
Hello DiapDealer, good question... In fact hyphenation works well in the iOS version, since the underlying WebView does support it. On Android, it's not the same game... So we have achieved a few tests at the JavaScript level with the great Hyphenator.js library, but we had performance issues and we had misc other troubles. We'll do some more investigations in this area very soon, since we have to find a solution for it, anyway. Proper hyphenation is important, especially with small devices. I'll post there the results of our investigations. If I may ask, any suggestion is highly welcome, and the whole Readium community would be grateful ;-)
EDIT 1: "Very soon" was in fact "right now" and I have just found an interesting solution, I'll try it shortly. Stay tuned.
EDIT 2: The new solution looks quite promising! However it has impact on bookmarks and highlights (on CFIs to be precise), so we will have to schedule a sprint about that to make sure we don't break anything. This will probably not be supported in our next Android release, you'll have to wait a little bit more.
JM

Last edited by Jean-Marie; 02-22-2016 at 09:52 AM.
Jean-Marie is offline   Reply With Quote