![]() |
#1276 | ||
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
I try to get this driver up and add some lines to a special css because I have troubles with the hyphenation.
I Found this: Quote:
Then: Quote:
Can anyone enlighten me with this ? |
||
![]() |
![]() |
![]() |
#1277 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The driver needs an update to know the GloHD...
Try this version and see if it works. Fioe name is kobo_extra_GLOHD.css Last edited by PeterT; 06-06-2015 at 12:40 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#1278 | ||
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
Quote:
The Glo HD isn't recognized for custom CSS files yet, I'll add some code soon. I just need to look at the base driver to see what's available for detecting it. |
||
![]() |
![]() |
![]() |
#1279 | |||
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
But the hyphenation of Kobo's reader works terrible. All - words are broken at the wrong place. Yes,the option to disable works in your driver,but if the transferred epub already have Hyphenation enabled in the .css by origin the epub will be converted to kepub with the originally stored Hyphenation settings that are there put in by the original maker. So I want to add an extra .css with some !important settings that overrides the original Hyphenation in the epub. So I know you can disable the hyphenation in the driver so it doesn't add hyphenation settings,but if they are already in it, I want to add an extra .css file that disables it. Something like: Code:
body,div,p { -webkit-hyphens: none !important; } Quote:
But that same base driver must be disabled in order to let your driver work. Or do you mean, it uses information of the disabled base driver to work with it ? I can't put an extra css in it by your plugin because it is a device named .css The Glo HD's I have are not (yet) supported so that is not working on it. The driver makes a perfect kepub, but because the device independance .css isn't supported, I can't add extra css rules in it. Quote:
|
|||
![]() |
![]() |
![]() |
#1280 | |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Ahh, that explains it, the Kobo reader doesn't support Dutch hyphenation at all as far as I know. You'll need the custom CSS to disable hyphenation.
Quote:
You can create the file manually for now. Put a file named kobo_extra.css in the top level of your device. If you're using Windows you can open Computer and double click the icon for your Kobo reader to get there, if you're using a Mac the icon to double click should appear on your desktop. |
|
![]() |
![]() |
Advert | |
|
![]() |
#1281 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I'm amazed you're overlooking the fact I did post a fixed driver already! See https://www.mobileread.com/forums/sho...postcount=1277
|
![]() |
![]() |
![]() |
#1282 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Kobo firmware has supported automatic Dutch hyphenation since version 2.8.1b. The problem is the same for all languages: EPUB reader works well but the KEPUB reader has a bug that puts the hyphen in the wrong place if the word has trailing punctuation.
|
![]() |
![]() |
![]() |
#1283 | |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
I want to thank you very well and I will certainly try it. Next problem,my printer/scanner died during the scanning of a book. Sorry again that I indeed doesn't noticed it ! |
|
![]() |
![]() |
![]() |
#1284 | |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Quote:
@Nick_1964 you could try the README (https://github.com/jgoguen/calibre-k...ster/README.md) directions for replacing the built-in hyphenation dictionary with a better one. The included hyphenation dictionaries, unless there's been another improvement I missed, are pretty bad. |
|
![]() |
![]() |
![]() |
#1285 | |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
(but this is all due Kobo's terrible choice to use hyphenation in the first place without testing and implementing the right method to do it..) |
|
![]() |
![]() |
![]() |
#1286 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
So, why not try to update the built-in hyphenation dictionary?
|
![]() |
![]() |
![]() |
#1287 |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
|
![]() |
![]() |
![]() |
#1288 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
It will be overwritten on each upgrade, but that's why you keep the KoboRoot.tgz that you create, so you can re-apply the change after each firmware upgrade. For best results, which I know may not be ideal but should be better than what Kobo does by default, you check the driver option to override the content file language, replace the built-in hyphenation dictionary with a newer one, and re-apply the hyphenation update after each firmware update until Kobo finally delivers a good hyphenation update on their own. Obviously, if you don't like the results even with the updated hyphenation dictionary, or if hyphenation isn't worth the inconvenience of applying a patch after every update, you can just go on with the custom CSS to disable hyphenation everywhere.
|
![]() |
![]() |
![]() |
#1289 | |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
Quote:
![]() The only reason I changed into kepub is because the latest firmware makes epub a lot slower then kepub with pageturns and things like that. I must keep epubs to because I have a couple of Sony's. So I could do a lot of work on the dictionarys (if I even manage to do it) but with over 3000 epubs i must keep an epub system to. I scan books for elderly prople so they can read with some dignity and don't have to use such a stupid "projector" so I just want to try and find a conveniant way to use the kepubs beside the epubs for my own use but the epubs are letting me have almost day work..scan it,convert it by abbyy..because the old people have only old,never published real books and keep asking me to please convert theirs.. and you know, if it was me sitting there,between those walls,sitting between people that walk with dolls and lost all ropes with reality, I would want the same. So I try to help myself with what I can find,but stick most of my time in helping them... so there is not enough time to re-invent the weel myself. And with only one year english lessons.. most of the knowledge and wishdom isn't available in my language ![]() |
|
![]() |
![]() |
![]() |
#1290 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Well that explains a lot. There's perhaps one problem though, the custom CSS file is specific to each device. You can put it on yours, but if you give the coveted book to someone else you either have to also put the custom CSS on their device (assuming they're also using Kobo readers). It's more work for you, but you may be better off if I understand you correctly to edit each ePub file to either remove the hyphenation or add the custom CSS to disable hyphenation to each content file.
One thing I could perhaps do is to add some code to give a "disable all hyphenation" option to modify the book and add the custom CSS to a book's content files for you. That'll be a few days for me to do and test, I don't have a lot of time each day. |
![]() |
![]() |
![]() |
Tags |
error, kobo aura one |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Device Driver Update | davidfor | Devices | 284 | 05-24-2019 05:24 PM |
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 04:58 PM |
[Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM |
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM |
Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |