02-25-2016, 12:00 AM | #121 |
Addict
Posts: 393
Karma: 123456
Join Date: Feb 2009
Location: Central US
Device: k1 - KAO2, ipads, h2o, KA1, inkBOOK, T80s, Mars, Nova Pro
|
Should there be a problem implementing the "My 15 line spacing values" patch on a kobo aura h20? The error I get is: ERROR(b) wrong value in 'My 15 line spacing values' (position 616F30) I haven't changed any of the values, only allowed the patch. I'm new to kobo but so far all the patches I've used have worked well, including the one for the larger dictionary fonts and the freedom to advanced fonts control, among others. Just wondering what I could be doing wrong.
|
02-25-2016, 12:31 PM | #122 | |
Resident Curmudgeon
Posts: 76,510
Karma: 136565392
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
This is the patch as I use it for my H2O. Code:
<Patch> patch_name = `My 15 line spacing values` patch_enable = `yes` # ## This patch changes the line spacing set by the line spacing adjustment ## slider, allowing much narrower line spacing to be set. It is recommended to ## select your own custom spacings by editing the replace_float lines at the ## bottom of this patch, as the defaults will not suit everyone. # # load val1 from new table replace_bytes = 616E2C, 00 23 00 22 C3 F6 F0 73, 00 46 40 A3 D3 E9 00 23 # load val5 from new table replace_bytes = 616E84, 43 F2 33 33 4F F0 33 32, 2C A3 D3 E9 00 23 00 46 replace_bytes = 616E8C, C3 F6 F3 73, 00 46 00 46 # load val7 from new table replace_bytes = 616EB2, 00 23 00 22 C3 F6 F8 73, 00 46 22 A3 D3 E9 00 23 # load val10 from new table replace_bytes = 616EF0, 00 22 4F F0 80 43, 15 A3 D3 E9 00 23 # load val11-val14 from old table in a loop to make room for new table replace_bytes = 616F04, 48 A3 D3 E9 00 23 07 F1, 48 A7 00 26 D7 E9 00 23 replace_bytes = 616F0C, 80 01 20 46 61 E9 0A 23, 20 A9 31 44 61 E9 0A 23 replace_bytes = 616F14, FC F5 48 E8 45 A3 D3 E9, 20 46 FC F5 48 E8 08 36 replace_bytes = 616F1C, 00 23 07 F1 80 01 20 46, 08 37 20 2E F2 D1 00 AF # load val15 from new table, jump over new table replace_bytes = 616F24, 61 E9 08 23 FC F5 3E E8, 0A A3 D3 E9 00 23 17 E0 # new table, inial values 1.0, 1.2, 1.5, 2.0, 3.0 replace_bytes = 616F30, 00 23 07 F1 80 01 20 46, 00 00 00 00 00 00 F0 3F replace_bytes = 616F38, 61 E9 06 23 FC F5 34 E8, 33 33 33 33 33 33 F3 3F replace_bytes = 616F40, 3F A3 D3 E9 00 23 07 F1, 00 00 00 00 00 00 F8 3F replace_bytes = 616F48, 80 01 20 46 61 E9 04 23, 00 00 00 00 00 00 00 40 replace_bytes = 616F50, FC F5 2A E8 00 23 00 22, 00 00 00 00 00 00 08 40 # # 15 values for replacement, change these to suit: replace_float = 616F30, 1.0, 0.7 replace_float = 616FF8, 1.05, 0.73 replace_float = 617000, 1.07, 0.75 replace_float = 617008, 1.1, 0.8 replace_float = 616F38, 1.2, 0.84 replace_float = 617010, 1.35, 0.86 replace_float = 616F40, 1.5, 0.88 replace_float = 617018, 1.7, 0.9 replace_float = 617020, 1.8, 0.92 replace_float = 616F48, 2.0, 0.94 replace_float = 617028, 2.2, 0.96 replace_float = 617030, 2.4, 0.98 replace_float = 617038, 2.6, 1.0 replace_float = 617040, 2.8, 1.05 replace_float = 616F50, 3.0, 1.1 # # The 15 line spacing values above should allow the line spacing to be adjusted # in increments of one pixel when using a medium sized font on a high resolution # device. If you use a small font size and/or a lower resolution device you may # find that increasing the slider one step at a time doesn't always result in a # line spacing change at each step. In that case, you might want to use 15 # replacement values that are not quite so close together. For example: # # 0.7 0.75 0.8 0.825 0.85 0.875 0.9 0.925 0.95 0.975 1.0 1.05 1.1 1.15 1.2 # # Also note that the KEPUB reader has problems when the line spacing value is # set too low, depending on the font used. Most of the built-in fonts are okay # down to about 0.9. If you only read KePub books then you might want to remove # some of the lower values and add some more of the higher ones. For example: # # 0.9 0.925 0.95 0.975 1.0 1.025 1.05 1.075 1.1 1.15 1.2 1.25 1.3 1.35 1.4 # </Patch> |
|
Advert | |
|
02-25-2016, 01:16 PM | #123 |
Addict
Posts: 393
Karma: 123456
Join Date: Feb 2009
Location: Central US
Device: k1 - KAO2, ipads, h2o, KA1, inkBOOK, T80s, Mars, Nova Pro
|
|
02-25-2016, 01:18 PM | #124 |
Resident Curmudgeon
Posts: 76,510
Karma: 136565392
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
02-25-2016, 01:23 PM | #125 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
There is a problem with the way python handles floating point numbers, so you can't use tshering's KBPatcher program to apply this patch. |
|
Advert | |
|
02-25-2016, 01:43 PM | #126 |
Addict
Posts: 393
Karma: 123456
Join Date: Feb 2009
Location: Central US
Device: k1 - KAO2, ipads, h2o, KA1, inkBOOK, T80s, Mars, Nova Pro
|
|
02-25-2016, 01:45 PM | #127 |
Addict
Posts: 393
Karma: 123456
Join Date: Feb 2009
Location: Central US
Device: k1 - KAO2, ipads, h2o, KA1, inkBOOK, T80s, Mars, Nova Pro
|
Hmm. Using the batch file for aura h20 with the patch for big fonts (bad eyes patches).
|
02-25-2016, 01:53 PM | #128 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
That won't work for this patch, you need to use the method in the "Instructions for patching firmware ..." thread for the appropriate firmware version (listed at the top of post #1 in this thread.) You can then use the output from that process as input to the bad eyes patches method to apply the rest of the bad eyes patches.
|
02-25-2016, 01:54 PM | #129 | |
Addict
Posts: 393
Karma: 123456
Join Date: Feb 2009
Location: Central US
Device: k1 - KAO2, ipads, h2o, KA1, inkBOOK, T80s, Mars, Nova Pro
|
Quote:
EDIT: That was the problem! Works just as I'd hoped. Again, thanks very much! EDIT: I haven't reapplied the bad eyes patches because I believe that's the reason I ended up the way I was doing it. When I applied the "bad eyes" earlier it wiped out the first patches. Sooo, not knowing what I'm doing, I copied/pasted the earlier patches to run with the bad eyes patches. It seemed to work for everything except the line spacing patch. I'd prefer the dictionary type larger, but not at the expense of losing the line-spacing patch. Last edited by jscris; 02-25-2016 at 03:50 PM. |
|
02-25-2016, 05:35 PM | #130 | |
Resident Curmudgeon
Posts: 76,510
Karma: 136565392
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-26-2016, 02:19 AM | #131 | |
The Couch Potato
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
|
Quote:
|
|
02-26-2016, 11:37 AM | #132 | |
Addict
Posts: 393
Karma: 123456
Join Date: Feb 2009
Location: Central US
Device: k1 - KAO2, ipads, h2o, KA1, inkBOOK, T80s, Mars, Nova Pro
|
Quote:
EDIT: That worked! Perfect! Thank you again! Last edited by jscris; 02-26-2016 at 06:52 PM. |
|
02-27-2016, 04:45 AM | #133 |
The Couch Potato
Posts: 34,509
Karma: 230999999
Join Date: Aug 2015
Device: Kobo Glo, Kobo Touch, Archos 9, Onyx Boox C67ML Carta
|
|
05-04-2016, 09:06 AM | #134 |
I need a chapter break
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Patch to `Increasing The View Details Container`
Firmware 4.2.8810+, the patch is integrated in GeoffR patcher, nickel.patch. Firmware 4.1.7729: nickel.patch, See CSS nickel patch. Spoiler:
Firmware 4.0.7523: nickel.patch, See CSS nickel patch. Spoiler:
Multi-version patch: 3.17.0-3.19.5761+ libnickel.so.1.0.0.patch. Spoiler:
Version patch: 3.13.1, libnickel.so.1.0.0.patch. Spoiler:
Notes: I only try this patch on my Kobo Glo FW 3.13.1, if there is overlapping or the text is cut, you can change the values in the patch. The information at the top (Published, Rating,...), was add by Kobo Utilities Template editor. Last edited by oren64; 03-05-2017 at 12:13 PM. Reason: fix patch |
05-13-2016, 04:19 PM | #135 | |
Connoisseur
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
|
Quote:
Spoiler:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unofficial Sigil patches | varlog | Sigil | 8 | 11-12-2014 07:14 PM |
Index: Making a linked index in epub | virtual_ink | ePub | 21 | 10-20-2011 12:23 AM |
DR800 Long time to index files after upgrading firmware? | Albyr | iRex | 29 | 06-18-2011 06:23 PM |
How to apply the enhancements/patches ? | nubbol | Calibre | 2 | 09-05-2010 12:42 AM |
iLiad Applying DR GTK+ patches to iLiad | ericshliao | iRex Developer's Corner | 16 | 03-14-2010 06:39 AM |