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 11-30-2014, 03:21 PM   #211
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: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
About 8:30am this morning (Sunday), the doorbell rang. Turns out it was the H2O arriving. I was very surprised given that it's USPS and it's Sunday.

Anyway, I'm sure I'll have a lot of questions.

I'll need to give this thread another go over before I patch.
JSWolf is offline   Reply With Quote
Old 11-30-2014, 04:40 PM   #212
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,535
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
@JSWolf: Maybe I'm strange (OK... I *AM* strange). Why not go for a few days without patches...
PeterT is offline   Reply With Quote
Old 11-30-2014, 05:03 PM   #213
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: 79,792
Karma: 146391129
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 PeterT View Post
@JSWolf: Maybe I'm strange (OK... I *AM* strange). Why not go for a few days without patches...
Some of the settings are not optimal to me. Now that I've patched using mostly the default settings, things are better.
JSWolf is offline   Reply With Quote
Old 11-30-2014, 05:42 PM   #214
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Nick_1964 View Post
Sorry for asking and it will be a bit offtopic, but can you post some small example about how to change margins in the font settings like u suggested ?

I googled on the the kobo_extra.css file but as far as I understand this will only in place when sending the book to the device.
It will not change the books already on the device,and a patch would.
But the idea is interesting so I will Google some more about options for this .css for future sending.
Thank you
Yes, it only affects books as they are sent to the device. The details are in the announcement post for that feature. And there is some discussion following it. Have a read of that and see if it answers your questions.

The other possibility is if you are using kepubs. There is a user styles file that can override the settings in the books. It doesn't override everything, but it can help. And it completely escapes me what the name of the file is. A search should find it.
davidfor is offline   Reply With Quote
Old 12-01-2014, 05:32 AM   #215
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by davidfor View Post
The other possibility is if you are using kepubs. There is a user styles file that can override the settings in the books. It doesn't override everything, but it can help. And it completely escapes me what the name of the file is. A search should find it.
If you are talking about kepub-book.css, the last FW it worked was 3.2.0, if I remember correctly.
tshering is offline   Reply With Quote
Old 12-01-2014, 06:56 AM   #216
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by tshering View Post
If you are talking about kepub-book.css, the last FW it worked was 3.2.0, if I remember correctly.
I hadn't noticed that. I knew the widows and orphans wasn't working, but don't remember hearing that the rest was being ignored. I've done some testing, and it is being ignored.
davidfor is offline   Reply With Quote
Old 12-02-2014, 03:24 PM   #217
sage79
Enthusiast
sage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of itsage79 has read War And Peace ... all of it
 
Posts: 46
Karma: 66500
Join Date: Jan 2011
Device: kobo glo
is it possible have custom 10 line space value patch?
Thanks
sage79 is offline   Reply With Quote
Old 12-02-2014, 08:54 PM   #218
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: 79,792
Karma: 146391129
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 sage79 View Post
is it possible have custom 10 line space value patch?
Thanks
The patch is actually 15 values for line height/spacing.
JSWolf is offline   Reply With Quote
Old 12-02-2014, 09:56 PM   #219
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 sage79 View Post
is it possible have custom 10 line space value patch?
Thanks
Here it is:
Spoiler:
Code:
<Patch>
patch_name = `My 10 line spacing values` 
patch_enable = `yes`
replace_bytes = 691DC8, A1 F5 92 ED, 00 46 00 46
replace_bytes = 691E1E, A1 F5 68 ED, 00 46 00 46
replace_bytes = 691E48, A1 F5 52 ED, 00 46 00 46
replace_bytes = 691E84, A1 F5 34 ED, 00 46 00 46
replace_bytes = 691EEA, A1 F5 02 ED, 00 46 00 46
#
# 10 values for replacement
replace_float = 691F78, 1.05, 0.75
replace_float = 691F80, 1.07, 0.8
replace_float = 691F88, 1.1, 0.84
replace_float = 691F90, 1.35, 0.86
replace_float = 691F98, 1.7, 0.88
replace_float = 691FA0, 1.8, 0.9
replace_float = 691FA8, 2.2, 0.92
replace_float = 691FB0, 2.4, 0.94
replace_float = 691FB8, 2.6, 0.96
replace_float = 691FC0, 2.8, 1.0
</Patch>
GeoffR is offline   Reply With Quote
Old 12-02-2014, 10:01 PM   #220
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: 79,792
Karma: 146391129
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
Here it is:
Spoiler:
Code:
<Patch>
patch_name = `My 10 line spacing values` 
patch_enable = `yes`
replace_bytes = 691DC8, A1 F5 92 ED, 00 46 00 46
replace_bytes = 691E1E, A1 F5 68 ED, 00 46 00 46
replace_bytes = 691E48, A1 F5 52 ED, 00 46 00 46
replace_bytes = 691E84, A1 F5 34 ED, 00 46 00 46
replace_bytes = 691EEA, A1 F5 02 ED, 00 46 00 46
#
# 10 values for replacement
replace_float = 691F78, 1.05, 0.75
replace_float = 691F80, 1.07, 0.8
replace_float = 691F88, 1.1, 0.84
replace_float = 691F90, 1.35, 0.86
replace_float = 691F98, 1.7, 0.88
replace_float = 691FA0, 1.8, 0.9
replace_float = 691FA8, 2.2, 0.92
replace_float = 691FB0, 2.4, 0.94
replace_float = 691FB8, 2.6, 0.96
replace_float = 691FC0, 2.8, 1.0
</Patch>
Since we can have 10 and 15, can we have 20?
JSWolf is offline   Reply With Quote
Old 12-02-2014, 10:13 PM   #221
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
Since we can have 10 and 15, can we have 20?
The original firmware has 15 values, 10 of them are stored in a simple array that is easy to change, the other 5 values are constructed in an unnecessarily complicated way and changing them requires a more complicated patch that rewrites some of the code in a more compact form to make room for the simple array to be extended.

It might be possible to have more than 15, I haven't tried it, but it would require a patch that rewrites the code in an even more compact form to make room for a bigger array. I think this could be done and there might be room for 20 or 25 values, but it is not a trivial thing to do.
GeoffR is offline   Reply With Quote
Old 12-02-2014, 10:32 PM   #222
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: 79,792
Karma: 146391129
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 original firmware has 15 values, 10 of them are stored in a simple array that is easy to change, the other 5 values are constructed in an unnecessarily complicated way and changing them requires a more complicated patch that rewrites some of the code in a more compact form to make room for the simple array to be extended.

It might be possible to have more than 15, I haven't tried it, but it would require a patch that rewrites the code in an even more compact form to make room for a bigger array. I think this could be done and there might be room for 20 or 25 values, but it is not a trivial thing to do.
Thanks for that. Don't bother to try just for me.
JSWolf is offline   Reply With Quote
Old 12-04-2014, 12:42 PM   #223
juequ
Junior Member
juequ began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2014
Location: Montreal Canada
Device: Amazon Kindle 4, Boox M92, Kobo Aura H2O
Hi GeoffR,
Thanks very much for your patches. I tried it on my Kobo H2O, and it looks much better.
And I have 2 questions for pdf files.
1. When I zoom in or out the pdf file by clicking "+" or "-", it increases or decrease by 50% on one click. Can I change it to 1% on each click while zooming the pdf file? Just like the "patch_name = `Brightness fine control`", which increases or decreases the Brightness by 1% on each click.
2. Some pdf files are "in light color". I mean the fonts are in gray, are not dark enough. Can I change the darkness of the fonts of pdf files, and make the content of pdf file display more clearly on the Kobo ereader?
Thanks very much!
Joe
juequ is offline   Reply With Quote
Old 12-05-2014, 03:12 AM   #224
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
3.12.0 is out : https://www.mobileread.com/forums/sho...postcount=1089 i hope that it can be patched to, I hope someone can post a link to the newly made Intructions for patching firmware 3.12.0 when it is started
Nick_1964 is offline   Reply With Quote
Old 05-26-2015, 03:34 AM   #225
barobach_so
Connoisseur
barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.
 
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
hi

I'm asking this question for one of my friends
he has kobo touch with 3.11 firmware tries to patch to have Persian keyboard

there are 2 issues :
first kobo touch 3.11 doesn't accept typed character instead of cyrilic , and only accept UTF-8 code ( its solved )
but he can't search with Persian/Arabic keyboard in kobo library ( I can do on H2O in firmware 3.12 till 3.15 )

and another thing is when he tries to add other patches at the end of patch file he get error and only can edit existent patches
barobach_so is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware Update Instructions and the latest Firmware Versions mitchwah Ectaco jetBook 113 10-24-2023 09:02 PM
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


All times are GMT -4. The time now is 07:56 AM.


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