![]() |
#166 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
The kpg.cfg file I'm using at this time without the human touch is: Code:
# Kobo Patch Generator config file # firmware ver. 2.8.1 # (c) 2013 MZ # <Patch> patch_name = `Custom reading footer style` patch_enable = `yes` # Disable footer example # replace_zlib = 1205FF4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 110;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n` # Decrease footer example replace_zlib = 1205FF4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 110;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n` </Patch> <Patch> patch_name = `My line spacing values` patch_enable = `yes` # Internal checks bypassf replace_float = 6857E0, 1.225, 0.1 replace_float = 685820, 1.225, 0.1 # Values for replace replace_float = 1201A58, 1.3, 0.9 replace_float = 1201A60, 1.35, 0.95 replace_float = 1201A68, 1.4, 1.0 replace_float = 1201A70, 1.6, 1.05 replace_float = 1201A78, 1.775, 1.0 replace_float = 1201A80, 1.9, 1.10 replace_float = 1201A88, 2.0, 1.15 replace_float = 1201A90, 2.2, 1.20 replace_float = 1201A98, 3.0, 1.25 </Patch> <Patch> patch_name = `Wi-Fi insomnia` patch_enable = `yes` replace_bytes = 704678, 11 B9, 00 46 </Patch> <Patch> patch_name = `Freedom to advanced fonts control` patch_enable = `yes` replace_bytes = 892894, 2C F4 52 EE, 3C F4 4C E9 replace_bytes = 982714, 70 F7 E0 E3, 00 46 00 46 replace_bytes = 984166, 6E F7 B8 E6, 00 46 00 46 </Patch> <Patch> patch_name = `Custom fonts sizes` patch_enable = `yes` # Values for replace replace_int = F773F8, 12, 20 replace_int = F773FC, 14, 21 replace_int = F77400, 16, 22 replace_int = F77404, 17, 23 replace_int = F77408, 18, 24 replace_int = F7740C, 19, 25 replace_int = F77410, 20, 26 replace_int = F77414, 21, 27 replace_int = F77418, 22, 28 replace_int = F7741C, 24, 29 replace_int = F77420, 25, 30 replace_int = F77424, 26, 31 replace_int = F77428, 28, 32 replace_int = F7742C, 32, 33 replace_int = F77430, 36, 34 replace_int = F77434, 40, 35 replace_int = F77438, 44, 36 replace_int = F7743C, 46, 37 replace_int = F77440, 48, 38 replace_int = F77444, 50, 39 replace_int = F77448, 52, 40 replace_int = F7744C, 54, 41 replace_int = F77450, 56, 42 replace_int = F77454, 58, 43 </Patch> <Patch> patch_name = `Custom left & right margins` patch_enable = `yes` # Values for replace replace_int = 1201AA4, 02, 01 replace_int = 1201AA8, 04, 02 replace_int = 1201AAC, 06, 03 replace_int = 1201AB0, 08, 04 replace_int = 1201AB4, 10, 05 replace_int = 1201AB8, 12, 06 replace_int = 1201ABC, 14, 07 replace_int = 1201AC0, 16, 08 </Patch> <Patch> patch_name = `Remove system fonts in Reader list` patch_enable = `no` replace_bytes = 96A94E, 60 F7 7E E7, 00 46 00 46 </Patch> <Patch> patch_name = `Brightness fine control` patch_enable = `yes` replace_int = 82DFCC, 10, 01 replace_int = 82DFFC, 10, 01 </Patch> <Patch> patch_name = `Cyrillic keyboard` patch_enable = `no` # Enable uppercase for [ß] key replace_bytes = 7FBCA2, 00 24, 01 24 # Replace layout sign #replace_bytes = F63FD0, C3 89 C3 80 C3 87, D0 90 D0 91 D0 92 replace_string = F63FD0, `ÉÀÇ`, `абв` # Change keyboard layout replace_utf8chars = F645D4, `æ`, `й` replace_utf8chars = F64464, `àèìòùáéíóú`, `цукенгшщзх` replace_utf8chars = F645F8, `ý`, `ъ` replace_utf8chars = F645D8, `œ`, `ф` replace_utf8chars = F644B0, `âêîôû`, `ывапр` replace_utf8chars = F6448C, `äëïöüÿ`, `олджэё` replace_utf8chars = F644C4, `ã`, `я` replace_utf8chars = F644A8, `ñõ`, `чс` replace_utf8chars = F645FC, `å`, `м` replace_utf8chars = F64434, `ß`, `и` replace_utf8chars = F644A4, `ç`, `т` replace_utf8chars = F64600, `đøij`, `ьбю` replace_utf8chars = F645E8, `ł`, `.` </Patch> <Patch> patch_name = `Allow download all in Browser` patch_enable = `yes` replace_bytes = 93F4F4, B1 F7 EC E0, 01 20 01 20 </Patch> <Patch> patch_name = `Fix page breaks bug` patch_enable = `yes` replace_bytes = C13B6E, E8 D0, E8 E7 #Alternative method #replace_bytes = C13B6E, E8 D0, 00 46 </Patch> <Patch> patch_name = `Margins fine tuning` patch_enable = `no` # Initial replaces replace_bytes = 848E86, 19 46, 00 21 replace_bytes = 848E88, 1A 46, 00 22 # Values for replace # Left margin replace_int = 848E86, 0, 10 # Top margin replace_int = 848E88, 0, 10 </Patch> Removing the # in front of the first "replace_zlib = 1205FF4," and placing it in front of the second "replace_zlib = 1205FF4," will disable the header (actually, shrink it to 5 pixels and make it transparent). I've tested that here and it does work so not sure why it is not working on your end. Please remember to replace the libnickel.so.1.0.0 with a new unmodified copy each time. Regards, David Last edited by DNSB; 09-24-2013 at 04:47 PM. |
|
![]() |
![]() |
![]() |
#167 | |
Groupie
![]() ![]() ![]() ![]() Posts: 154
Karma: 368
Join Date: Mar 2009
Location: Polson, MT
Device: Kobo Aura HD, PRS-350/950, HP Touchpad, Kindle Keyboard
|
Well, thanks very much for help, David, but no difference.
I did a factory result, redownloaded and extracted fresh v7, copied your code, moved # to second "replace_zlib" to turn footer off, sent compiled tgz over... Damn! footer still persists on both an epub and pdf... It seems to have gotten slightly larger as well. I know the patcher is working however because the light control has increments of 1. Quote:
Code:
C:\Users\Admin\Desktop\2.8.1>kpg.exe Kobo Patch Generator ver. 1.3 (c) 2013 MZ Loading config file ... OK Checking config syntax ... OK Loading file for patching ... OK Applying patches ... Applying patch [Custom reading footer style] ... OK Applying patch [My line spacing values] ... OK Applying patch [Wi-Fi insomnia] ... OK Applying patch [Freedom to advanced fonts control] ... OK Applying patch [Custom fonts sizes] ... OK Applying patch [Custom left & right margins] ... OK Applying patch [Remove system fonts in Reader list] ... DISABLED IN CONFIG Applying patch [Brightness fine control] ... OK Applying patch [Cyrillic keyboard] ... DISABLED IN CONFIG Applying patch [Allow download all in Browser] ... OK Applying patch [Fix page breaks bug] ... OK Applying patch [Margins fine tuning] ... DISABLED IN CONFIG OK Writing result file ... OK Creating Kobo update ... OK C:\Users\Admin\Desktop\2.8.1> Last edited by Waba; 09-24-2013 at 06:15 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#168 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Are you sure this isn't just a widows & orphans problem with this particular epub? If you turn through lots of pages is the footer size varying a lot? Have you taken any steps to set widows/orphans to zero in your epubs?
|
![]() |
![]() |
![]() |
#169 | |
Groupie
![]() ![]() ![]() ![]() Posts: 154
Karma: 368
Join Date: Mar 2009
Location: Polson, MT
Device: Kobo Aura HD, PRS-350/950, HP Touchpad, Kindle Keyboard
|
Quote:
![]() Footer appeared larger after first reset, but now seems normal again... Might have been imagining things. Last edited by Waba; 09-24-2013 at 06:48 PM. |
|
![]() |
![]() |
![]() |
#170 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
First which Kobo do you have? Second have you tried turning it completely off and on again after applying the patch?
|
![]() |
![]() |
Advert | |
|
![]() |
#171 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
|
|
![]() |
![]() |
![]() |
#172 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David Last edited by DNSB; 09-24-2013 at 10:14 PM. Reason: added images |
|
![]() |
![]() |
![]() |
#173 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 255
Karma: 1151364
Join Date: Aug 2009
Device: Aura HD and H2O
|
Quote:
|
|
![]() |
![]() |
![]() |
#174 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
![]() |
![]() |
![]() |
#175 |
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
|
Well, I haven't bothered with those widows and orphans and I haven't had any instances of blank lines at the bottom after applying the patch - except for twice so far (in quite a lot of reading), when I had that strange bug at the end of a chapter, where the very last line of the chapter takes up its own page.
|
![]() |
![]() |
![]() |
#176 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David |
|
![]() |
![]() |
![]() |
#177 |
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
|
So it seems I got lucky.
Anyway, one or two blank lines at the bottom wouldn't really bother me. What did bother me about that bug were those half-empty pages, and they are defintely gone with the patch, regardless of what you do regarding the bereaved. |
![]() |
![]() |
![]() |
#178 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
"bereaved" -- cute! ![]() Regards, David |
|
![]() |
![]() |
![]() |
#179 |
Fledgling Demagogue
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 31132263
Join Date: Feb 2011
Location: White Plains
Device: Clara HD; Oasis 2; Aura HD; iPad Air; PRS-350; Galaxy S7.
|
I haven't wanted to try the patch again because I'm going to have to use my Aura HD for a reading tonight and I don't want to introduce more variables into the performance. I'm already a tad nervous about the hang that sometimes occurs with page turns.
Anyway, enough procrastination about last revisions. Back to editing the pieces I have to read. |
![]() |
![]() |
![]() |
#180 |
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
|
Well, good luck for your reading!
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |