![]() |
#16 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,977
Karma: 142517494
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The numbers I would use are... ePub: 2/3 KePub: 3/4 |
|
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,977
Karma: 142517494
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
|
|
![]() |
![]() |
![]() |
#20 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,237
Karma: 16537474
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Code:
-webkit-hyphenate-limit-before: 2; -webkit-hyphenate-limit-after: 3; Code:
Strange hyphenati- on. For this reason I never have -webkit-hyphenate-limit-after set to anything less than 3. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
![]() The interesting thing is that the punctuation probably should be considered when deciding to split the word, but, it shouldn't be included when deciding where to put the split. I wonder if this is one of those cases where the programmer/designer/whoever decided to fix it later when they had time to think about it properly and that time has never arrived. |
|
![]() |
![]() |
![]() |
#22 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
|
Quote:
I downloaded your .tgz file and replaced the hyph-nl.dic with a Swedish hyphenation file (a slightly modified .tex file from hyphenation.org/tex) renamed to hyph-nl.dic and copied the tgz file to the .kobo folder in order to patch it. And now everything seems to work fine. Thank you! ![]() (I'm guessing it works better now because I replaced an official language, but perhaps I should try using the same file named as hyph-sv.dic and see if it still works...?) |
|
![]() |
![]() |
![]() |
#23 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 599
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
You don't have to replace an existing language hyphenation dictionary.
You could add a Swedish hyphenation dictionary as "Svenska" is supported by Kobo readers, so this should work. adding: hyph_sv.dic (underscore; assuming that the country abbreviation is correct) make sure that the symlink uses the same abbreviation and the .dic file is saved as UTF-8. Last edited by Anak; 07-18-2020 at 09:00 AM. |
![]() |
![]() |
![]() |
#24 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,237
Karma: 16537474
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#25 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
|
Quote:
SO, now the Swedish hyphenation works pretty good I'd say. ![]() |
|
![]() |
![]() |
![]() |
#26 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
Hm, I didn't know about this weird kepub hyphen length thing. Maybe I should try again.
|
![]() |
![]() |
![]() |
#27 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
Hello there.
So I have tried this, modifying the dict with the values of 4 en 4 for both left and right hyphens. However, when reading a Kepub, I still gets things like "me-mory" or, "pi-cked". Is there something wrong with my archive ? Or is another option trumping the one in the dict ? Last edited by Simboubou; 09-11-2020 at 04:07 PM. |
![]() |
![]() |
![]() |
#28 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77,977
Karma: 142517494
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
My question is what is wrong with me-mory? Do you like the gaps? |
|
![]() |
![]() |
![]() |
#29 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 2112464
Join Date: Aug 2014
Device: Kobo Glo HD
|
No, "me-mory" is fine. "Pi-cked" is not as good. And worse, I sometime see "th-ing"
It's just that I try to setup the hyphenation so that it doesn't hyphenate too often. I'm usually fine with no hyphens, but I've grown more aware of stretched lines. So I'd like to have hyphens, only not too aggressive ones. That's why I'm trying to set the min lenght to higher values. The kobotouchExtended driver, you say ? Is that when I use calibre epub to kepub conversion ? Or is it when I transfert the file ? How do I change that, is that the "extra css" tab when converting ? When I convert books to kepub, I don't select the "activate hyphenation" option. So hyphens are only on when I set my kobo to Justify. Thanks ! EDIT : ok, to I edited the hyphenation.css of KoboTouchExtended to this: Code:
* { -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; -webkit-hyphenate-after: 4; -webkit-hyphenate-before: 4; -webkit-hyphenate-lines: 2; hyphenate-after: 4; hyphenate-before: 4; hyphenate-lines: 2; } h1, h2, h3, h4, h5, h6, td { -moz-hyphens: none !important; -webkit-hyphens: none !important; hyphens: none !important; } ![]() RE-EDIT: Gosh, I think it worked with -webkit-hyphenate-limit-after. Last edited by Simboubou; 09-12-2020 at 07:56 AM. |
![]() |
![]() |
![]() |
#30 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,039
Karma: 53000001
Join Date: Feb 2012
Location: New England
Device: PW 1, 2, 3, Voyage, Oasis 2 & 3, Fires, Aura HD, iPad
|
Quote:
If I saw that, it would take me out of the story more than the gaps would. Shari |
|
![]() |
![]() |
![]() |
Tags |
hyphenation, kobo |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenation | skr1107 | Calibre | 1 | 09-27-2018 12:28 PM |
Hyphenation | Simboubou | PocketBook | 9 | 09-15-2014 06:21 AM |
Hyphenation does not work in E-book Viewer | Elancrom | Calibre | 2 | 06-18-2014 07:19 AM |
Hyphenation | Siard | Kobo Reader | 6 | 08-09-2013 08:40 AM |
hyphenation | CPatrick | OpenInkpot | 3 | 03-22-2010 07:06 AM |