![]() |
#76 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
But here is a patch if you want to test it for yourself: Spoiler:
I think the only solution to your problem is to add padding between the lines, i.e. increase the line spacing. (other than using the epub reader instead, which works with much smaller line spacing settings than the kepub reader). |
|
![]() |
![]() |
![]() |
#77 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 119
Karma: 37418
Join Date: Jan 2013
Device: H2OE2, Libra 2
|
Yes I have tried this patch and yes you're right it doesn't work, but thank for trying.
My present solution is to modify the line spacing in your patch to remove the smaller spacings which cause the worst of this issue. At least it makes it easier for me to find a suitable font size / line size setting. eg: # 15 values for replacement replace_float = 6C3BC0, 1.0, 0.82 replace_float = 6C3C88, 1.05, 0.83 replace_float = 6C3C90, 1.07, 0.84 replace_float = 6C3C98, 1.1, 0.85 replace_float = 6C3BC8, 1.2, 0.86 replace_float = 6C3CA0, 1.35, 0.87 replace_float = 6C3BD0, 1.5, 0.88 replace_float = 6C3CA8, 1.7, 0.89 replace_float = 6C3CB0, 1.8, 0.9 replace_float = 6C3BD8, 2.0, 0.92 replace_float = 6C3CB8, 2.2, 0.94 replace_float = 6C3CC0, 2.4, 0.97 replace_float = 6C3CC8, 2.6, 1.0 replace_float = 6C3CD0, 2.8, 1.05 replace_float = 6C3BE0, 3.0, 1.1 |
![]() |
![]() |
Advert | |
|
![]() |
#78 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 201
Karma: 42238
Join Date: Oct 2012
Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa
|
Quote:
Might something like this work? * { box-sizing: border-box; width: 100%; border: 0.2px solid white; } Last edited by ewphoenix123; 12-17-2014 at 03:48 PM. |
|
![]() |
![]() |
![]() |
#79 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#80 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
I can not make a patch for Aura HD using Mac. I think a little experience. Can anybody help me?
|
![]() |
![]() |
Advert | |
|
![]() |
#81 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Have you ever tried/considered porting this to the Kobo so the device would patch itself after placing patch files in the USB storage?
|
![]() |
![]() |
![]() |
#82 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 12028
Join Date: Nov 2013
Device: Kobo Aura H2O
|
geoffr thank you very much for your patch and your disponibility
![]() |
![]() |
![]() |
![]() |
#83 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
That's an interesting idea, it would have the advantage of avoiding any possibility of using the wrong firmware version to make the patch. I haven't thought about what would be needed to make it work though. |
|
![]() |
![]() |
![]() |
#84 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
If you post the output from running the script, we can see where the error is occuring. (On my Linux system (Debian with Gnome desktop), double-clicking on 3.12.0.sh works, but it might not work on all Linux systems.) |
|
![]() |
![]() |
![]() |
#85 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
|
Quote:
Code:
<body> <div> <p>text</p> </div> </body> |
|
![]() |
![]() |
![]() |
#86 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
With synced kepubs the padding only ever gets added to an outer <div>, never to <p> or any other inner elements. With the sideloaded kepubs there is not always an outer <div>, so the body>p selector ensures it gets added to the <p> in that case. With the earlier versions of the patch, the padding got applied both to the outer <div> and to the inner <p>, so there would be twice as much padding (or more, depending on how many outer <div> layers), which is why I think increasing the amount of padding in the latest version of the patch might be needed to get as much padding as was in the earlier versions. |
|
![]() |
![]() |
![]() |
#87 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#88 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
Here is a message in the terminal:
Vladimirs-iMac:~ vlad$ /Users/vlad/Desktop/patch_kobo_3120 -bash: /Users/vlad/Desktop/patch_kobo_3120: is a directory Vladimirs-iMac:~ vlad$ /Users/vlad/Desktop/patch_kobo_3120/3.12.0.sh Extracting files to patch from 3.12.0_source/kobo-update-3.12.0.zip ... tar: ./usr/local/Kobo/librmsdk.so.1.0.0: Not found in archive tar: ./usr/local/Kobo/libadobe.so: Not found in archive tar: ./usr/local/Kobo/libnickel.so.1.0.0: Not found in archive tar: Error exit delayed from previous errors. Cleaning up /var/folders/my/lb6mkqpj5sz6xqccmwrt7m380000gn/T/patch32lsb_XXXXXXXX.iHMoK4JY Vladimirs-iMac:~ vlad$ |
![]() |
![]() |
![]() |
#89 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
I don't use kepub, sideloaded or not, so my interest is purely academical ![]() |
|
![]() |
![]() |
![]() |
#90 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
cd /Users/vlad/Desktop/patch_kobo_3120 ./3.12.0.sh |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 05:32 AM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 07:28 AM |
Instructions for patching firmware 3.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM |
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x | GeoffR | Kobo Developer's Corner | 285 | 08-27-2014 10:06 AM |
Instructions for patching firmware 3.1.1 | GeoffR | Kobo Developer's Corner | 64 | 04-18-2014 01:23 PM |