![]() |
#631 |
Member
![]() Posts: 14
Karma: 10
Join Date: Nov 2013
Device: KO3
|
Thanks. I checked few last page but I missed that.
|
![]() |
![]() |
![]() |
#632 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 7940
Join Date: Mar 2013
Device: Kindle 3 Wifi, Pocketbook 360, Nook Simple Touch
|
Just managed to successfully patch my Aura HD using the zip file GeoffR provided in post #605. Thanks GeoffR! Will use the patch you provided as is for now, but I'll try to play with values later on.
Anyway, just wanted to ask, is there also a patch to override CSS settings? I have a few sideloaded epubs who stay in default settings even when I try to change the viewing font. Only the font won't change (font sizes and line spacing do, but if I go up a font setting the default font displays really huge, so I'd like to change the font to a more viewable one). |
![]() |
![]() |
![]() |
#633 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
A better solution is just to edit the css of the offending books. Find out which font is used for the main text, say it is font-family: Charis; Then delete all font-family: Charis; lines in the css (or if you prefer, leave the ones that apply to titles and chapter headings, etc) and add one new line at the top of the file: body {font-family: Charis;} With these changes you will be able to see the book as it originally was by selecting the "Document Default" font, but the font used for the main text will change when you select another font. Last edited by GeoffR; 12-18-2013 at 12:48 PM. Reason: minor clarification |
|
![]() |
![]() |
![]() |
#634 |
Traumatized
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
|
See this post to unlock fonts and line spacing patch without ignoring entirely the CSS settings: https://www.mobileread.com/forums/sho...&postcount=456
Maybe you missed it. (btw, I've been using these during one month now with my epub books, and did not encountered yet any problem using them) |
![]() |
![]() |
![]() |
#635 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
@GeoffR
I've tried to run your "patch32lsb" program in my computer but it doesn't work. Code:
[inigo@inigo 0]$ ./patch32lsb -p kpg-311.conf -i libnickel.so.1.0.0 -o ./usr/local/Kobo/libnickel.so.1.0.0 Read 21284216 bytes from input file 'libnickel.so.1.0.0' ./patch32lsb: line 13 in 'kpg-311.conf': replace_string unescaped '\' character. Thanks, Iņigo |
![]() |
![]() |
![]() |
#636 | |
Ignorant of many things
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 9304
Join Date: Feb 2011
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#637 |
Traumatized
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
|
Currently only on 3.0.0 firmware, since i didnt bothered to upgrade my glo yet.
In theory, it should not be hard to adapt these patches to the latest firmware (unless fundamental changes between 3.0.0 and latest) If you are interested in testing these with the latest firmware (3.1.1?) I can quickly provide the updated patches values. |
![]() |
![]() |
![]() |
#638 |
Ignorant of many things
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 9304
Join Date: Feb 2011
Device: Kobo Libra 2
|
I'm running 3.1.1, so I'm sure willing to give it a try. I'll be thankful if you provide such values.
|
![]() |
![]() |
![]() |
#639 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
(BTW it should run correctly on 32- and 64-bit machines, the 32lsb in the name refers to the executable that is being patched, i.e. Kobo devices run 32-bit little-endian code.) |
|
![]() |
![]() |
![]() |
#640 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Thanks a lot. |
|
![]() |
![]() |
![]() |
#641 | |
Traumatized
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 175722
Join Date: Oct 2009
Device: paper, Kobo Glue
|
Quote:
edit: warning: untested yet on 3.1.1 Code:
# For 3.1.1 <Patch> patch_name = `Force user selected font (Ignore external font-family in CSS and style tag)` patch_enable = `yes` # Warning: This is an EXPERIMENTAL patch will replace all "font-family" to "_ont-family" # ALL patches - except the last one - are necessary since they all rely to the change of the last one. # This is barbarian, dirty workaround and maybe unsafe, but in waiting for better... (ONLY for .epub Does NOT work for .kepub) # Patch by byblo replace_string = 010FDF8C, `f`, `_` replace_string = 010FDFB8, `f`, `_` replace_string = 010FDFD4, `f`, `_` replace_string = 01117DA1, `f`, `_` replace_string = 01117E19, `f`, `_` replace_string = 01117E91, `f`, `_` replace_string = 01117F09, `f`, `_` replace_string = 01117F7A, `f`, `_` replace_string = 01145CD4, `f`, `_` replace_string = 01145F25, `f`, `_` replace_string = 01146511, `f`, `_` replace_string = 011490C0, `f`, `_` replace_string = 01149250, `f`, `_` replace_string = 01149498, `f`, `_` replace_string = 01149C06, `f`, `_` replace_string = 0114A03D, `f`, `_` replace_string = 0114C6D9, `f`, `_` replace_string = 011506B2, `f`, `_` replace_string = 011668C8, `f`, `_` #Note: this is the main entry that has to be replaced to avoid reading font-family on CSS and <style> tags replace_string = 01445924, `f`, `_` </Patch> <Patch> patch_name = `Force user selected line spacing (Ignore external line-height in CSS and style tag)` patch_enable = `yes` # Warning: This is an EXPERIMENTAL patch will replace all "line-height" to "_ine-height" # ALL patches - except the last one - are necessary since they all rely to the change of the last one. # This is barbarian, dirty workaround and maybe unsafe, but in waiting for better... (ONLY for .epub Does NOT work for .kepub) # Patch by byblo replace_string = 01117FCD, `l`, `_` replace_string = 01145AF6, `l`, `_` replace_string = 011494AC, `l`, `_` replace_string = 0114A079, `l`, `_` replace_string = 0114C70D, `l`, `_` replace_string = 01150687, `l`, `_` replace_string = 01167DA6, `l`, `_` replace_string = 0116A5E8, `l`, `_` replace_string = 0116A611, `l`, `_` replace_string = 0116A64C, `l`, `_` #Note: this is the main entry that has to be replaced to avoid reading line-height on CSS and <style> tags replace_string = 014445F0, `l`, `_` </Patch> <Patch> patch_name = `Force aspect ratio on pictures (Ignore preserveAspectRatio)` patch_enable = `yes` #force to keep aspect ratio of the picture by ignoring the preserveAspectRatio entry (half confirmed. works well when preserveAspectRatio=none) #can be useful to keep aspect ratio on covers ect... # Patch by byblo (ONLY for .epub Does NOT work for .kepub) replace_string = 01442620, `p`, `_` </Patch> This suggest that the values patched (see the code above) are NOT used by the .kepub renderer. (and if needed, the values to patch for kepub should be to find in another file of the firmware package?) Last edited by byblo; 12-19-2013 at 08:10 PM. |
|
![]() |
![]() |
![]() |
#642 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 695156
Join Date: Apr 2013
Device: Kindle 4 NT
|
I haven't updated my Aura HD since 2.8. If I want to go to 3.1.1, do I use version 11 of the patcher along with GeoffR's conf file? Where do I get the libnickel file?
|
![]() |
![]() |
![]() |
#643 | |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
Quote:
![]() Very nicely explained by GeoffR here. |
|
![]() |
![]() |
![]() |
#644 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 695156
Join Date: Apr 2013
Device: Kindle 4 NT
|
I patched my Aura HD and got the footer to just where I like it, but it appears that opening up the little tool that lets you move quickly through the book and then using it to jump chapters reverts all the changes.
|
![]() |
![]() |
![]() |
#645 | |
Ignorant of many things
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 9304
Join Date: Feb 2011
Device: Kobo Libra 2
|
Quote:
Note: Sorry for taking longer to reply, but I have no internet at home, so I have to travel to a relative's place in order to 'get connected'. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys | sufue | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-15-2012 10:39 AM |
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless | shaf | Kobo Reader | 5 | 12-04-2011 05:10 PM |
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 | JBlyth | Kobo Reader | 11 | 08-03-2011 05:38 PM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |