Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2017, 08:43 AM   #106
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Quote:
Originally Posted by jcn363 View Post
Definitely there is something strange (in my device?). I take a epub and convert to kepub (with kepubify) and the view of epub is almost perfect (I think) but kepub... I don't know what's fail on: any patch, setting, font-size, line hight,...
And yes fb2 works and can change / improve (it's into a compressed xml).

Good luck.
Best way for hyphenation in KEPUB for me:
0. Patch firmware for always hyphens for Kepub.
1. Apply path for hyphens, posted in this tread above.
2. Get book in FB2
3. Convert to EPUB, by fb2mobi: https://github.com/rupor-github/fb2mobi
* in settings switch off hyphens;
4. Convert to KEPUB by kepubify: https://github.com/geek1011/kepubify

Page view you find in attachment.
Attached Thumbnails
Click image for larger version

Name:	Bukv.jpg
Views:	700
Size:	93.7 KB
ID:	160882   Click image for larger version

Name:	hyph.jpg
Views:	677
Size:	102.7 KB
ID:	160883  

Last edited by Vetchy; 12-22-2017 at 08:47 AM.
Vetchy is offline   Reply With Quote
Old 12-22-2017, 09:04 AM   #107
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by Robik View Post
When you add hyph_ru.dic in \usr\local\Kobo\hyphenDicts it's only work with epubs.
You need create symlink in \usr\share\hyphen (hyph_ru_RU.dic -> \usr\local\Kobo\hyphenDicts\hyph_ru.dic) for kepub.
Quote:
Originally Posted by Vetchy View Post
Best way for hyphenation in KEPUB for me:
0. Patch firmware for always hyphens for Kepub.
1. Apply path for hyphens, posted in this tread above.
2. Get book in FB2
3. Convert to EPUB, by fb2mobi: https://github.com/rupor-github/fb2mobi
* in settings switch off hyphens;
4. Convert to KEPUB by kepubify: https://github.com/geek1011/kepubify
Thanks for reply.
Can you try my dic? please.
It's almost the same process I made.
Good luck.
Attached Files
File Type: zip JHyphenRU.zip (23.5 KB, 461 views)
jcn363 is offline   Reply With Quote
Advert
Old 12-22-2017, 09:21 AM   #108
pokkis
Member
pokkis began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2014
Device: Glo, Likebook
How to disable hyphenation?
pokkis is offline   Reply With Quote
Old 12-22-2017, 09:47 AM   #109
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by pokkis View Post
How to disable hyphenation?
libnickel.so.1.0.0.patch -> Set KePub hyphenation

Good luck.
jcn363 is offline   Reply With Quote
Old 12-22-2017, 12:29 PM   #110
JIPG-reader
Zealot
JIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beauty
 
JIPG-reader's Avatar
 
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
Quote:
Originally Posted by Vetchy View Post
Yes, I know, that official it not support. But for example - look for screens.
In attach you find how looks fb2 in shelf and render of text.
As you see, FB2 files have an afwul Calibre css for headers, cite etc.
In russian community some users try to create nice style and fix not working footnotes.
There is a file called fb2.xsl.gz in folder usr/local/kobo. If you open it, you can see:

"copyright 2002 Paul Henry Tremblay # # Copyright 2011 Kovid Goyal #"

Maybe this is the reason to see the headers like calibre ones
And probably, changing this file css, you can improve it ...

It is nice that our kobo can read fb2, so please tell us if someone in the community can "repair" this file to have a better look and footnotes fully operative.
JIPG-reader is offline   Reply With Quote
Advert
Old 12-25-2017, 10:46 AM   #111
dmapr
Evangelist
dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.
 
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
Quote:
Originally Posted by Robik View Post
When you add hyph_ru.dic in \usr\local\Kobo\hyphenDicts it's only work with epubs.
You need create symlink in \usr\share\hyphen (hyph_ru_RU.dic -> \usr\local\Kobo\hyphenDicts\hyph_ru.dic) for kepub.
The KoboRoot.tgz attached in post #90 has the symlink in it.
dmapr is offline   Reply With Quote
Old 12-25-2017, 11:03 AM   #112
dmapr
Evangelist
dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.
 
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
Quote:
Originally Posted by jcn363 View Post
I downloaded the book and edited to be absolutely sure was clean before put into my device.

Good luck.
I have no problem changing the font in the epub version.
Attached Thumbnails
Click image for larger version

Name:	screen_001.png
Views:	449
Size:	69.7 KB
ID:	160939   Click image for larger version

Name:	screen_002.png
Views:	448
Size:	75.6 KB
ID:	160940   Click image for larger version

Name:	screen_003.png
Views:	430
Size:	78.8 KB
ID:	160941   Click image for larger version

Name:	screen_004.png
Views:	446
Size:	70.2 KB
ID:	160942  
dmapr is offline   Reply With Quote
Old 12-25-2017, 12:42 PM   #113
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by dmapr View Post
I have no problem changing the font in the epub version.
Thanks, I'll see what to do...
jcn363 is offline   Reply With Quote
Old 12-29-2017, 04:00 AM   #114
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Mystery solved!
For any reason the russian language was disappeared from my /mnt/onboard/.kobo/kobo/eReader.conf file
Code:
[ApplicationPreferences]
ExtraLocales= ru
I must add I checked about one hundred pages (in a kepub book with the attached dic) and I have not found a break of one single letter.

Good luck.
Attached Files
File Type: zip JHyphenRU.zip (30.8 KB, 2183 views)

Last edited by jcn363; 12-31-2017 at 04:14 AM. Reason: change path
jcn363 is offline   Reply With Quote
Old 01-05-2018, 06:01 AM   #115
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Quote:
Originally Posted by jcn363 View Post
Mystery solved!
For any reason the russian language was disappeared from my /mnt/onboard/.kobo/kobo/eReader.conf file
Code:
[ApplicationPreferences]
ExtraLocales= ru
I must add I checked about one hundred pages (in a kepub book with the attached dic) and I have not found a break of one single letter.

Good luck.
Now, I have one book with this problem. And I think, that problem in it. If you want, I can to send it to you.
The problem exist in any case of convertation:
original file FB2 → EPUB → KEPUB
original file EPUB → KEPUB
EPUB

Those book was purchased in litres.ru
Vetchy is offline   Reply With Quote
Old 01-05-2018, 02:32 PM   #116
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by Vetchy View Post
Now, I have one book with this problem. And I think, that problem in it. If you want, I can to send it to you.
The problem exist in any case of convertation:
original file FB2 → EPUB → KEPUB
original file EPUB → KEPUB
EPUB

Those book was purchased in litres.ru
Send me a PM or the link please.
Good luck.
jcn363 is offline   Reply With Quote
Old 06-03-2020, 02:00 PM   #117
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Hi guys,

I downloaded the attached file with the hyph_pt_BR.dic from here: https://extensions.libreoffice.org/e...gues-do-brasil.

It's a libre office project and it's free to use.

I opened the file and the second line is:

4'4

and it's not the same I saw in other dictionaries where the first line is:

LEFTHYPHENMIN 2
RIGHTHYPHENMIN 2

It's possible to anyone add the portuguese file to the database (first post) and convert to use at Kobo?

EDIT: my kobo don't have any hyph file inside the dictionaries folder.
Attached Files
File Type: zip hyph_pt_BR.zip (2.9 KB, 256 views)

Last edited by Flaviocc; 06-03-2020 at 02:25 PM.
Flaviocc is offline   Reply With Quote
Old 06-03-2020, 02:43 PM   #118
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,484
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Flaviocc View Post
Hi guys,

I downloaded the attached file with the hyph_pt_BR.dic from here: https://extensions.libreoffice.org/e...gues-do-brasil.

It's a libre office project and it's free to use.

I opened the file and the second line is:

4'4

and it's not the same I saw in other dictionaries where the first line is:

LEFTHYPHENMIN 2
RIGHTHYPHENMIN 2

It's possible to anyone add the portuguese file to the database (first post) and convert to use at Kobo?

EDIT: my kobo don't have any hyph file inside the dictionaries folder.
I can give it a go.
JSWolf is offline   Reply With Quote
Old 06-03-2020, 03:03 PM   #119
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Thank you Jon!
Flaviocc is offline   Reply With Quote
Old 06-03-2020, 06:18 PM   #120
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,484
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Flaviocc View Post
Thank you Jon!
I'll do it tomorrow and you can give it a go.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyphenation Simboubou PocketBook 9 09-15-2014 05:21 AM
PRS-T3 hyphenation - whether you want it or not ? cybmole Sony Reader 10 01-13-2014 02:43 PM
Hyphenation - again.. ItsMee Conversion 2 07-31-2012 03:00 PM
Hyphenation Jini ePub 3 04-05-2012 11:48 AM
hyphenation CPatrick OpenInkpot 3 03-22-2010 06:06 AM


All times are GMT -4. The time now is 05:46 PM.


MobileRead.com is a privately owned, operated and funded community.