07-10-2013, 09:29 AM | #1 |
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Hyphenation not working with kepubs
I've uploaded a Dutch hyphenation file to the device. Works correct with the Adobe renderer but not with the Access renderer (kepub).
Do kepubs need some additional hyphenation CSS entries? |
07-12-2013, 09:47 AM | #2 |
Junior Member
Posts: 8
Karma: 106
Join Date: Jul 2013
Location: Netherlands
Device: kobos, kindles
|
Dutch hyphenation not working correctly with kepubs
Your title implies that hyphenation does not work at all in kepubs. My experience is that Dutch text in kepubs is not hyphenated according to the Dutch hyphenation rules that I supplied. In some more detail:
|
07-12-2013, 11:50 AM | #3 | ||
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
Quote:
All I had to do is to build a patch to load the Dutch hyphenation dictionary on to the Kobo. Containing: Code:
.\usr\local\Kobo\hyphenDicts\hyph_nl.dic .\usr\share\hyphen\hyph_nl_NL.dic |
||
07-13-2013, 12:10 PM | #4 | ||
Junior Member
Posts: 8
Karma: 106
Join Date: Jul 2013
Location: Netherlands
Device: kobos, kindles
|
Quote:
Quote:
|
||
07-24-2013, 07:09 AM | #5 | |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
Quote:
Code:
* { -webkit-hyphens: auto; } I found this line while peeking through libnickel.so in kobo's firmware, near the 'justify' string... I guess this is what kobo uses when you select "justified" in font options dialog. I suspect that the poor quality of Italian hyphenation depends on the provided hyphenation dictinary, but didn't made any test with a better one. |
|
07-25-2013, 09:22 PM | #6 |
Guru
Posts: 730
Karma: 3871570
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
I don't know if this is related to your problem or not, but I noticed today on an English-language kepub that if you set justification ON then hyphenation happens, and if you turn it OFF, it doesn't.
|
07-26-2013, 01:42 AM | #7 | |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
Quote:
Adding this line to the CSS you get hyphenation without side effects... |
|
07-26-2013, 06:41 AM | #8 |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
You may also want to check this:
https://www.mobileread.com/forums/sho...d.php?t=218814 |
08-12-2013, 12:46 PM | #9 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Aug 2013
Location: Belgrade, Serbia
Device: Kobo Glo
|
Quote:
I replaced the built-in italian hyphenation dictionary with the serbian one using the anak's method. Then I marked properly a serbian language book as an italian (so, the Dublin Core language metadata in content file of the book is set to "it" along with lang and xml:lang attributes of html tags of all .html files in the book are set to "it"). Then I transfered the book as kepub. Book details on the Kobo displays the language of the book as Italiano. I also used * { -webkit-hyphens: auto; } rule. But the hyphenation doesen't work When I deleted the book and transfered it again as regular epub, the hyphenation was done properly in the ADOBE renderer. I also tried to load the dictionary as a new language, hyph_sr.dic and hyph_sr_RS.dic and marked the book's language the same way as in the first experiment using "sr" tag. Again, the hyphenation was missing in ACCESS renderer and worked fine in ADOBE. So, maybe this means that the ACCESS doesn't share the same dictionary files with ADOBE renderer? Cheers |
|
08-12-2013, 06:22 PM | #10 |
Connoisseur
Posts: 63
Karma: 10
Join Date: Oct 2010
Device: KDXG, Kobo Glo, Kobo Aura HD
|
I have the very same problem, but I'm using the spelling dictionaries provided by the firmware. Both english and italian books are always spelt correctly from the epub renderer, but are often wrong when using the kepub renderer.
What I find odd is that they do similar errors in both languages. For example "trasmiss-ione" instead of "trasmis-sione" in italian, or "pointl-essly" instead of "point-lessly" in english. IMHO it is some bug. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Some serious issues with kepubs | Anak | Kobo Reader | 73 | 05-09-2013 06:57 PM |
Pros and Cons of using Kepubs vs ePubs | kaufman | Kobo Reader | 8 | 04-30-2013 04:41 PM |
Unsynced kepubs show up as on device in Calibre | Mrs_Often | Kobo Reader | 18 | 04-09-2013 07:13 AM |
Is it possible to have kepubs on different devices without them getting locked? | Nascarfan1972 | Kobo Reader | 5 | 01-20-2013 08:10 AM |
[Kobo Glo] kepubs and series (or: some kepubs invisible for Calibre) | beedaddy | Devices | 3 | 01-14-2013 02:05 AM |