Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-16-2017, 07:01 AM   #61
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by aklenatlus View Post
Hi, is it possible to remove the header (which report the book's title) and let the footer remain?
Thanks
Only if you transfer all your books as plain epub rather than kepub. What you've asked for is standard for epubs.

With kepubs all you can do is use a patch to reduce the height of the header, or remove both header and footer by configuring to read in fullscreen mode.
jackie_w is offline   Reply With Quote
Old 05-16-2017, 07:07 AM   #62
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
Quote:
Originally Posted by jcn363 View Post
I do in this way:
in .kobo/Kobo/Kobo eReader.conf search for
Code:
[FeatureSettings]
Screenshots=false
change to true
disconnect
take the screenshot with ON key
Don't forget to change to false when you done.

Good luck!
Thanks!
Seems quite cumbersome, but it's good to know.

Last edited by LucyOne; 05-16-2017 at 07:48 AM.
LucyOne is offline   Reply With Quote
Advert
Old 05-16-2017, 04:20 PM   #63
isaak
Enthusiast
isaak can extract oil from cheeseisaak can extract oil from cheeseisaak can extract oil from cheeseisaak can extract oil from cheeseisaak can extract oil from cheeseisaak can extract oil from cheeseisaak can extract oil from cheeseisaak can extract oil from cheese
 
Posts: 40
Karma: 1042
Join Date: Nov 2009
Device: kobo aura one; kindle dx
Greek keyboard

Greek keyboard for KA1 libnickel.so patch updated, thanks GeoffR!
Spoiler:

Code:
<Patch>
patch_name = `Greek Keyboard (Aura One)`
patch_enable = `yes`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with alternatives.
##
## Note that after the device boots, the keypad might just show blank squares
## until after the first book has been opened.
##
## Also note that long-pressing keys on the base keypad will no longer show
## the appropriate list of Extended Latin keys.
#
# Enable uppercase for `ß` (sharp s) key
# replace_bytes = 708434, 00 26, 01 26
# Replace layout sign Greek
find_base_address = `ÉÀÇ`
replace_string = 0000, `ÉÀÇ`, `ελ`
# Change keyboard layout
find_base_address = `ý\0ÿ\0š\0ž\0`
# Top row, left to right (10 keys):
replace_string = 0000, `ý`, `ό`
replace_string = 0003, `ÿ`, `ύ`
replace_string = 0006, `š`, `ϋ`
replace_string = 0009, `ž`, `:`
replace_string = 000C, `æ`, `ά`
replace_string = 000F, `œ`, `έ`
replace_string = 0012, `þ`, `ί`
replace_string = FFFFFF89, `ß`, `/`
replace_string = 0015, `ij`, `-`
replace_string = 0018, `ŀ`, `_`
# Second row, left to right (10 keys):
replace_string = 0024, `à`, `;`
replace_string = 0027, `á`, `ς`
replace_string = 002A, `â`, `ε`
replace_string = 002D, `ä`, `ρ`
replace_string = 0030, `ã`, `τ`
replace_string = 0033, `å`, `υ`
replace_string = 0036, `è`, `θ`
replace_string = 0039, `é`, `ι`
replace_string = 003C, `ê`, `ο`
replace_string = 003F, `ë`, `π`
# Third row, left to right (10 keys):
replace_string = 0045, `ò`, `α`
replace_string = 004E, `ó`, `σ`
replace_string = 0054, `ô`, `δ`
replace_string = 0057, `ö`, `φ`
replace_string = 005A, `õ`, `γ`
replace_string = 005D, `ø`, `η`
replace_string = 0042, `ì`, `ξ`
replace_string = 004B, `í`, `κ`
replace_string = 0060, `î`, `λ`
replace_string = 0063, `ï`, `,`
# Fourth row, left to right (8 keys):
replace_string = 0048, `ù`, `ζ`
replace_string = 0051, `ú`, `χ`
replace_string = 0066, `û`, `ψ`
replace_string = 0069, `ü`, `ω`
replace_string = 006C, `ñ`, `β`
replace_string = 006F, `ç`, `ν`
replace_string = 0072, `đ`, `μ`
replace_string = 0075, `ł`, `.`
</Patch>
isaak is offline   Reply With Quote
Old 05-16-2017, 10:56 PM   #64
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by JSWolf View Post
Which patches are not in the zip file in post #1? Thanks.
The only ones from the previous firmware that are not currently in the attachment to post #1 are `Disable new home screen` and all of the keyboard patches. The new patches listed under Other patches in post #2 are not included yet either.
GeoffR is offline   Reply With Quote
Old 05-17-2017, 01:54 AM   #65
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by GeoffR View Post
The only ones from the previous firmware that are not currently in the attachment to post #1 are `Disable new home screen` and all of the keyboard patches. The new patches listed under Other patches in post #2 are not included yet either.
Thanks. So are the patches listed in post #2 going to be added or will I have to do the ones I want myself?
JSWolf is offline   Reply With Quote
Advert
Old 05-18-2017, 12:09 PM   #66
Desdinova
Eternal light
Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.
 
Desdinova's Avatar
 
Posts: 263
Karma: 1088802
Join Date: Jun 2015
Location: South Wales
Device: Kobo Glo, Aura, Touch, H2O - now Aura One and Kindle Oasis 3
Getting this Oren:

tools/patch32lsb-Darwin: line 1352 in '4.4.9344_source/nickel.patch': replace_bytes mismatched data.
Cleaning up scratch directory /var/folders/wx/npyzpnn93xd2xd1_vtvlzsym0000gn/T/patch32lsb_XXXXXXXX.87jqWcNY

(its saying that for the last line)
Desdinova is offline   Reply With Quote
Old 05-18-2017, 12:35 PM   #67
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,841
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Quote:
Originally Posted by Desdinova View Post
Getting this Oren:

tools/patch32lsb-Darwin: line 1352 in '4.4.9344_source/nickel.patch': replace_bytes mismatched data.
Cleaning up scratch directory /var/folders/wx/npyzpnn93xd2xd1_vtvlzsym0000gn/T/patch32lsb_XXXXXXXX.87jqWcNY

(its saying that for the last line)
You're using a patch on the wrong firmware, the one Oren has in this thread is for 4.4.9298 not 4.4.9344
MGlitch is offline   Reply With Quote
Old 05-18-2017, 12:41 PM   #68
Desdinova
Eternal light
Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.Desdinova ought to be getting tired of karma fortunes by now.
 
Desdinova's Avatar
 
Posts: 263
Karma: 1088802
Join Date: Jun 2015
Location: South Wales
Device: Kobo Glo, Aura, Touch, H2O - now Aura One and Kindle Oasis 3
D'Oh!

Ok. Hands up!

Obviously I can't read. Bit ironic that is is about an ereader then!

Ta

A
Desdinova is offline   Reply With Quote
Old 07-28-2017, 02:28 AM   #69
congdv
Junior Member
congdv began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2017
Device: Kobo aura edition 2
Quote:
Originally Posted by jackie_w View Post
As promised here is a new patch which will allow you to customise the appearance of the text in the dictionary pop-up widget and full-screen dictionary page.

You can customise one or more of the following:
  • font-family (choose any font on your device, built-in or sideloaded)
  • font-size
  • line-height
As far as I can tell (trial and error) these are the current unpatched Kobo defaults:
Code:
         font-family    font-size   line-height
         -----------    ---------   -----------
    Glo: Georgia        23px        1.4em
    H2O: Georgia        29px        1.4em
  GloHD: Georgia        32px        1.4em
AuraONE: Georgia        42px        1.4em
... so work out your new custom font-size/line-height settings using these as a guideline.

Here is the patch code. It goes in libnickel.so.1.0.0.patch.
Spoiler:
Code:
<Patch>
patch_name = `Dictionary text font-family/font-size/line-height - beta`
patch_enable = `no`
# Multi-version patch: 4.4.9298 - 4.4.9298+
#
# This patch allows you to to customise the appearance of the text 
# in the dictionary pop-up widget and full-screen dictionary page.
#
# You can change one or more of the following attributes:
#   - font-family
#   - font-size
#   - line-height
#
# Stage 1: Change DictionaryView to remove %1, %2 etc variables
#   from:
#       * { font: %1px %2; line-height: %5em; }
#       div.descriptionFont { font-family: %3; }
#       ol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }
#       ol p { font-size: %1px; font-weight:normal; }
#
#   to:
#       * { font-size: 40px; line-height: 1.3em; font-family: Georgia                                           ;}
#       ol   { margin-left: 1em; margin-top: 0px; }
#       ol p { font-size:  1em; font-weight:normal; }
#
# ##### N.B. Do not change the next 2 lines #####
find_base_address = `* { font: %1px %2; line-height: %5em; }`
replace_string = 0000, `* { font: %1px %2; line-height: %5em; }\ndiv.descriptionFont { font-family: %3; }\nol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }\nol p { font-size: %1px; font-weight:normal; }\n`, `* { font-size: 40px; line-height: 1.4em; font-family: Georgia                                           ;}\n        \nol   { margin-left: 1em; margin-top: 0px; }\nol p { font-size:  1em; font-weight:normal; }\n`
# ##### N.B. Do not change anything above this line #####
#
#
# Stage 2: N.B. You MUST keep old and new strings EXACTLY the same length
#
# Un-comment ONE ONLY of the following replace_string examples 
#   to change dictionary font-family from default Georgia:
#   - to a different built-in font
#   - to one of your sideloaded custom fonts
#
# Notes for changing font-family:
#   1.  Pad the shorter of the old/new strings with spaces to 
#       keep same length for both strings (see examples below)
#
#   2.  If the new font-family name (max. 50 chars) contains any spaces it must be
#       wrapped in "double-quotes" (see examples 2, 3)
#
#   3.  To change from Georgia to the Kobo default sans-serif font, Avenir, 
#       use either one of the following to achieve the same result:
#       - sans-serif
#       - "Avenir Next Medium"
# 
# Examples for customising font-family:
#replace_string = 0036, `Georgia   `, `sans-serif`
#replace_string = 0036, `Georgia    `, `"Gill Sans"`
#replace_string = 0036, `Georgia      `, `"Kobo Nickel"`
#replace_string = 0036, `Georgia `, `Bookerly`
#
# Un-comment and edit next line to change font-size
#replace_string = 000F, `40px`, `30px`
#
# Un-comment and edit next line to change line spacing
#replace_string = 0022, `1.4`, `1.3`
</Patch>


Although the patch code looks quite long, most of it is Help Notes. The only lines you need to change are in the last 10 lines of the patch.

I've attached 3 screenshots:
  1. unpatched KA1 [**]
  2. patched KA1: font-family: "Gill Sans", font-size: 38px, line-height: 1.1em
  3. patched KA1: font-family: Bookerly, font-size: 45px, line-height: 1.4em
[**] Let me rephrase that. By 'unpatched' I mean before this particular patch was enabled. My other dictionary patch `Dictionary frame size - beta8` (in nickel.patch) is already enabled in all 3 of the screenshots. The 2 dictionary patches are not dependent on each other. Enable either, both or neither as you wish.

Please report back in this thread if you have any problems.

Caveat: If you own several different Kobo models it is unlikely that you will be able to find one set of custom values which will look good on all devices so you may need to run the patch process multiple times with a different libnickel.so.1.0.0.patch file for each.
Thank you so much. It's work with vietnamese font. But you create another patch for change font-family "table of content" in book, titles and authors of books in "my book" section. Thanks again.
congdv is offline   Reply With Quote
Old 07-28-2017, 12:05 PM   #70
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by congdv View Post
Thank you so much. It's work with vietnamese font. But you create another patch for change font-family "table of content" in book, titles and authors of books in "my book" section. Thanks again.
Now it's time for you to do this all over again with the new 4.5.9587 patch to go along with the new firmware.
JSWolf is offline   Reply With Quote
Old 09-08-2018, 02:35 PM   #71
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 423
Karma: 3860889
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
patching problems

Quote:
Originally Posted by jackie_w View Post
As promised here is a new patch which will allow you to customise the appearance of the text in the dictionary pop-up widget and full-screen dictionary page.

You can customise one or more of the following:
  • font-family (choose any font on your device, built-in or sideloaded)
  • font-size
  • line-height
As far as I can tell (trial and error) these are the current unpatched Kobo defaults:
Code:
         font-family    font-size   line-height
         -----------    ---------   -----------
    Glo: Georgia        23px        1.4em
    H2O: Georgia        29px        1.4em
  GloHD: Georgia        32px        1.4em
AuraONE: Georgia        42px        1.4em
... so work out your new custom font-size/line-height settings using these as a guideline.

Here is the patch code. It goes in libnickel.so.1.0.0.patch.
Spoiler:
Code:
<Patch>
patch_name = `Dictionary text font-family/font-size/line-height - beta`
patch_enable = `no`
# Multi-version patch: 4.4.9298 - 4.4.9298+
#
# This patch allows you to to customise the appearance of the text 
# in the dictionary pop-up widget and full-screen dictionary page.
#
# You can change one or more of the following attributes:
#   - font-family
#   - font-size
#   - line-height
#
# Stage 1: Change DictionaryView to remove %1, %2 etc variables
#   from:
#       * { font: %1px %2; line-height: %5em; }
#       div.descriptionFont { font-family: %3; }
#       ol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }
#       ol p { font-size: %1px; font-weight:normal; }
#
#   to:
#       * { font-size: 40px; line-height: 1.3em; font-family: Georgia                                           ;}
#       ol   { margin-left: 1em; margin-top: 0px; }
#       ol p { font-size:  1em; font-weight:normal; }
#
# ##### N.B. Do not change the next 2 lines #####
find_base_address = `* { font: %1px %2; line-height: %5em; }`
replace_string = 0000, `* { font: %1px %2; line-height: %5em; }\ndiv.descriptionFont { font-family: %3; }\nol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }\nol p { font-size: %1px; font-weight:normal; }\n`, `* { font-size: 40px; line-height: 1.4em; font-family: Georgia                                           ;}\n        \nol   { margin-left: 1em; margin-top: 0px; }\nol p { font-size:  1em; font-weight:normal; }\n`
# ##### N.B. Do not change anything above this line #####
#
#
# Stage 2: N.B. You MUST keep old and new strings EXACTLY the same length
#
# Un-comment ONE ONLY of the following replace_string examples 
#   to change dictionary font-family from default Georgia:
#   - to a different built-in font
#   - to one of your sideloaded custom fonts
#
# Notes for changing font-family:
#   1.  Pad the shorter of the old/new strings with spaces to 
#       keep same length for both strings (see examples below)
#
#   2.  If the new font-family name (max. 50 chars) contains any spaces it must be
#       wrapped in "double-quotes" (see examples 2, 3)
#
#   3.  To change from Georgia to the Kobo default sans-serif font, Avenir, 
#       use either one of the following to achieve the same result:
#       - sans-serif
#       - "Avenir Next Medium"
# 
# Examples for customising font-family:
#replace_string = 0036, `Georgia   `, `sans-serif`
#replace_string = 0036, `Georgia    `, `"Gill Sans"`
#replace_string = 0036, `Georgia      `, `"Kobo Nickel"`
#replace_string = 0036, `Georgia `, `Bookerly`
#
# Un-comment and edit next line to change font-size
#replace_string = 000F, `40px`, `30px`
#
# Un-comment and edit next line to change line spacing
#replace_string = 0022, `1.4`, `1.3`
</Patch>


Although the patch code looks quite long, most of it is Help Notes. The only lines you need to change are in the last 10 lines of the patch.

I've attached 3 screenshots:
  1. unpatched KA1 [**]
  2. patched KA1: font-family: "Gill Sans", font-size: 38px, line-height: 1.1em
  3. patched KA1: font-family: Bookerly, font-size: 45px, line-height: 1.4em
[**] Let me rephrase that. By 'unpatched' I mean before this particular patch was enabled. My other dictionary patch `Dictionary frame size - beta8` (in nickel.patch) is already enabled in all 3 of the screenshots. The 2 dictionary patches are not dependent on each other. Enable either, both or neither as you wish.

Please report back in this thread if you have any problems.

Caveat: If you own several different Kobo models it is unlikely that you will be able to find one set of custom values which will look good on all devices so you may need to run the patch process multiple times with a different libnickel.so.1.0.0.patch file for each.
Hi, this is as I edited the patch, but I think I've done something wrong. could paste the correct text?

#
# Examples for customising font-family:
#replace_string = 0036, `Georgia `, `sans-serif`
replace_string = 0036, `"Gill Sans"`
#replace_string = 0036, `Georgia `, `"Kobo Nickel"`
#replace_string = 0036, `Georgia `, `Bookerly`
#
# Un-comment and edit next line to change font-size
replace_string = 000F, `30px`, `30px`
#
# Un-comment and edit next line to change line spacing
replace_string = 0022, `1.1`, `1.1`
</Patch>
Owl_ is offline   Reply With Quote
Old 09-08-2018, 04:57 PM   #72
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Owl_ View Post
Hi, this is as I edited the patch, but I think I've done something wrong. could paste the correct text?
Corrections in red. Be especially careful with the font-family patch - the old value string and the new value string must be exactly the same length.

Code:
# Examples for customising font-family:
#replace_string = 0036, `Georgia   `, `sans-serif`
replace_string = 0036, `Georgia    `, `"Gill Sans"`
#replace_string = 0036, `Georgia      `, `"Kobo Nickel"`
#replace_string = 0036, `Georgia `, `Bookerly`
#
# Un-comment and edit next line to change font-size
replace_string = 000F, `40px`, `30px`
#
# Un-comment and edit next line to change line spacing
replace_string = 0022, `1.4`, `1.1`
</Patch>
jackie_w is offline   Reply With Quote
Old 09-09-2018, 03:54 AM   #73
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 423
Karma: 3860889
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by jackie_w View Post
Corrections in red. Be especially careful with the font-family patch - the old value string and the new value string must be exactly the same length.

Code:
# Examples for customising font-family:
#replace_string = 0036, `Georgia   `, `sans-serif`
replace_string = 0036, `Georgia    `, `"Gill Sans"`
#replace_string = 0036, `Georgia      `, `"Kobo Nickel"`
#replace_string = 0036, `Georgia `, `Bookerly`
#
# Un-comment and edit next line to change font-size
replace_string = 000F, `40px`, `30px`
#
# Un-comment and edit next line to change line spacing
replace_string = 0022, `1.4`, `1.1`
</Patch>
Thanks it seems working... I was worried because I've made several .tgz (editing the .patch files) and tried them one after the other on the device (that is working well). Can I let it so or must I do a factory reset?
Can I keep the final .tgz or make an other one?

Thanks
Owl_ is offline   Reply With Quote
Old 09-09-2018, 06:23 AM   #74
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Owl_ View Post
Thanks it seems working... I was worried because I've made several .tgz (editing the .patch files) and tried them one after the other on the device (that is working well). Can I let it so or must I do a factory reset?
Can I keep the final .tgz or make an other one?
Each time you create a .tgz via the patcher it is a complete re-write of only the 1,2,3 or 4 files inside it (libnickel.so.1.0.0 in the case of the dictionary patch in your initial post). Nothing is done to the rest of the files in the firmware. So there is no need to factory reset.

As far as I understand it, if your Kobo is not having problems, the only time you need to factory reset is in preparation for downgrading to an older firmware version than the one currently installed.

Just be aware that the .tgz file you have created should only be used on a Kobo running fw 4.4.9298. If you upgrade your firmware you will need to repeat the patching process to create a new .tgz using the patch pack from the thread dedicated to patching this new firmware version.

P.S. Is there a reason why you're still using 4.4.9298, which is pretty old?
jackie_w is offline   Reply With Quote
Old 09-09-2018, 03:23 PM   #75
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 423
Karma: 3860889
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by jackie_w View Post
P.S. Is there a reason why you're still using 4.4.9298, which is pretty old?
Indeed this is only the exemple I quoted from this thread; I'm running a 4.6.9995, I'm not sure if it is the fastest and stablest one today.

The patch remove totally the 4 margins? (What must I write otherwise?)

Can I obtain something like thisin the popup window of my dictionary:

entry1definition1definition1definition1definition1defini tion1definition1definition1definition1definition1d efinition1definition1definition1definition1definit ion1definition1definition1definition1
entry2definition2definition2definition2definition2defini tion2definition2definition2definition2definition2d efinition2definition2definition2definition2definit ion2
entry3definition3definition3definition3definition3defini tion3definition3definition3definition3definition3d efinition3definition3definition3definition3definit ion3definition3definition3definition3definition3de finition3definition3definition3definition3definiti on3definition3definition3definition3
entry4definition4definition4definition4definition4defini tion4
entry5definition5definition5definition5definition5defini tion5definition5definition5definition5definition5d efinition5definition5definition5definition5definit ion5
Owl_ is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 AM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 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


All times are GMT -4. The time now is 08:26 PM.


MobileRead.com is a privately owned, operated and funded community.