Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2018, 10:11 PM   #61
gaurav_singh_md
Member
gaurav_singh_md began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2012
Device: Onyx Boox M92, Kobo Aura One
I enabled the "custom reading footer style" patch but the footer still looks too big. Do i need to modify something in the patch for it to work? i enabled the full screen mode as well and even there the bottom margin looks big. Before enabling this patch the header and footer were the same size in full screen. i have a kobo aura one. Thanks.
gaurav_singh_md is offline   Reply With Quote
Old 01-10-2018, 01:41 AM   #62
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 gaurav_singh_md View Post
I enabled the "custom reading footer style" patch but the footer still looks too big. Do i need to modify something in the patch for it to work? i enabled the full screen mode as well and even there the bottom margin looks big. Before enabling this patch the header and footer were the same size in full screen. i have a kobo aura one. Thanks.
Are your books in ePub or KePub format? ("EPUB" or "KOBO EPUB" in the books list on the ereader.)

If ePub, have a look at this post.

If KePub, be aware that in full screen mode the top and bottom margins adjust to match the left/right margins (for ePubs you can get a similar effect by enabling the `ePub fixed/adjustable top/bottom margins` patch.)

Edit: Although not directly related to the size of the gap at the bottom of the page, the `My 24 line spacing values` and `Custom font sizes` patches allow finer adjustment of the line height, which can help get the text to fill the available area and leave less of a gap.

Last edited by GeoffR; 01-10-2018 at 02:00 AM.
GeoffR is offline   Reply With Quote
Advert
Old 01-10-2018, 04:08 PM   #63
gaurav_singh_md
Member
gaurav_singh_md began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2012
Device: Onyx Boox M92, Kobo Aura One
Quote:
Originally Posted by GeoffR View Post
Are your books in ePub or KePub format? ("EPUB" or "KOBO EPUB" in the books list on the ereader.)

If ePub, have a look at this post.

If KePub, be aware that in full screen mode the top and bottom margins adjust to match the left/right margins (for ePubs you can get a similar effect by enabling the `ePub fixed/adjustable top/bottom margins` patch.)

Edit: Although not directly related to the size of the gap at the bottom of the page, the `My 24 line spacing values` and `Custom font sizes` patches allow finer adjustment of the line height, which can help get the text to fill the available area and leave less of a gap.
The books are epub. I thought there might be something i needed to change in the min./max. values in the patch. i played around with the font size and line spacing but still couldn't fill that space. do i need to load other fonts that are optimized for the aura one?
gaurav_singh_md is offline   Reply With Quote
Old 01-10-2018, 11:58 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 gaurav_singh_md View Post
The books are epub. I thought there might be something i needed to change in the min./max. values in the patch. i played around with the font size and line spacing but still couldn't fill that space. do i need to load other fonts that are optimized for the aura one?
You don't need to load any other fonts. You can adjust the size of the footer for the AuraOne by changing these values in the `Custom reading footer` patch:
Code:
# Replacement footer height values: AuraOne
replace_string = 00C0, `min-height:90px`, `min-height:68px`
replace_string = 00D0, `max-height:90px`, `max-height:68px`
If you make the footer very small then you might also need to reduce the font size used for the page number:
Code:
# Replacement caption font size value for AuraOne:
replace_string = 01D0, `font-size:37px`, `font-size:34px`

It might help to sideload this test ePub which draws a box showing the available screen area, so you can see how much is actually being used by the footer.

Last edited by GeoffR; 01-11-2018 at 12:04 AM.
GeoffR is offline   Reply With Quote
Old 02-04-2018, 01:56 PM   #65
Namenlos
Enthusiast
Namenlos began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Jul 2014
Device: Kobo Mini
Quote:
Originally Posted by jcn363 View Post
Only reading and My books
This is a variant of `New home screen removing the footer (row3) and increasing cover size` patch then you can't use with it or any related.
Spoiler:
Code:
<Patch>
patch_name = `Only reading and My books`
patch_enable = `no`
#base_address = 45BB08
find_base_address = `\x00\x00\x08\x52\x78\x9C\x9D\x94`
replace_bytes = 0000, 00 00 08 52 78 9C 9D 94, 00 00 08 52 78 9C 9D 93
replace_bytes = 0008, 5D 4B C3 30 14 86 EF FB, 51 4B C3 30 14 85 DF FD
replace_bytes = 0010, 2B 0A DE 3A 68 D3 8F 75, 1B 7B 75 D0 A4 5D 96 6D
replace_bytes = 0018, 1B 5E 88 43 10 14 04 BD, F8 20 0E 41 50 10 F4 4D
replace_bytes = 0020, 13 91 AC 66 5D 20 4D BA, 44 B2 9A 75 81 36 C9 D2
replace_bytes = 0028, B4 CE 0D D9 7F B7 5D A3, 38 37 64 FF DD B6 19 DA
replace_bytes = 0030, 6B 93 2C 59 77 25 BC 67, 84 24 B3 3E B5 9C D0 FB
replace_bytes = 0038, C9 F3 2C E7 9D 57 39 C4, 9D DC 73 3A AA 08 E3 37
replace_bytes = 0040, F4 8E D1 AA FE 83 F8 DB, 82 EB E6 41 D5 CB F6 5A
replace_bytes = 0048, FA B6 28 3E 3E D1 06 A7, CA B7 77 BA 63 39 BD AB
replace_bytes = 0050, E8 A1 7C E5 98 B0 6C 77, 9F 15 2B 45 71 B8 D2 EA
replace_bytes = 0058, 53 F1 2F F4 EE FE 38 AE, 83 BE 7E 6D A5 12 92 2A
replace_bytes = 0060, BB 2E 38 2B 10 AF 76 23, 7D 18 97 74 AD 1F 88 2A
replace_bytes = 0068, 82 96 D5 13 E4 19 A6 53, 18 9F 83 64 F1 AB 2B 56
replace_bytes = 0070, 17 C4 B3 DE 8C E3 6C 75, 6C BC 07 5A C8 93 3C 43
replace_bytes = 0078, 72 58 B1 E2 6F 34 91 46, 3D 79 25 B4 16 D5 E9 04
replace_bytes = 0080, 0B 56 55 2C 3F 75 B0 2C, F6 4F 6A 49 72 C6 8B 76
replace_bytes = 0088, 60 8A 69 36 75 7D 6F E6, CA 71 14 71 F8 B8 11 94
replace_bytes = 0090, EC 9D 2B 83 F8 F3 8A 21, B3 7D D4 21 0C 39 84 5E
replace_bytes = 0098, 8A B7 56 F1 C0 24 2E 0F, 87 00 06 2D A6 5E 8B 59
replace_bytes = 00A0, 3B E2 BE EC D6 37 97 4F, DC E2 52 91 42 F0 A8 43
replace_bytes = 00A8, 1E CD 43 9B F9 9C C3 8C, 14 72 88 FC 0E A7 49 C8
replace_bytes = 00B0, 51 AB 78 E4 19 C4 E5 61, E1 24 F1 38 84 67 96 B8
replace_bytes = 00B8, 57 7C EC 99 C4 E5 93 FF, 24 87 B2 A5 C6 3C C2 50
replace_bytes = 00C0, E2 C0 FA E4 73 B8 23 8D, CE D0 9F 33 84 41 8F 68
replace_bytes = 00C8, 84 55 3D 8E 0C EA F2 B0, E2 F3 88 1A 8F 4A 7C 82
replace_bytes = 00D0, A3 0E 80 51 5D 3E 79 54, 5C 94 F0 B2 7D 83 3F 6F
replace_bytes = 00D8, 8F 0F EA 9C 7D FB 86 76, 69 CF D2 8E D5 6C 55 D2
replace_bytes = 00E0, 5F 1F 3E 01 6C FD CF E1, F9 9A 94 35 3D 7D 12 29
replace_bytes = 00E8, 76 B4 42 8D 71 7D 71 E2, AD 99 14 6B 75 45 F6 E3
replace_bytes = 00F0, 15 DB 06 9A 63 2A 87 5A, 0D 6D 2F 34 87 38 91 FB
replace_bytes = 00F8, 60 AF 95 5A A0 DA DB 2E, 45 C5 B8 2D F8 20 56 EF
replace_bytes = 0100, 30 08 63 15 28 42 2D B0, 7C 10 BB 98 3D 48 9A 21
replace_bytes = 0108, 5B 26 2D 4F 69 5B 17 17, 1B 62 04 1F A4 DF 1C 1F
replace_bytes = 0110, 26 89 8A 13 A1 1E D7 AB, C3 6A 56 0F 91 61 6C 23
replace_bytes = 0118, 80 1E A8 B6 A4 8B 8C 83, 8C E0 45 58 D1 7B 21 76
replace_bytes = 0120, 50 45 8A 70 EF B4 57 E1, 39 7A 18 94 66 36 C6 08
replace_bytes = 0128, F2 BE 6E E0 4B 0A 09 7A, C7 0B 33 80 D5 B7 4D DD
replace_bytes = 0130, AC 77 8F C4 55 B6 05 AB, 9E 72 52 D2 FB 26 78 6A
replace_bytes = 0138, AF 39 01 9A D7 6C C3 E1, 06 9C 0B CC 5A D5 0C 3A
replace_bytes = 0140, 2C F3 E6 C2 44 F3 BD 44, AB EA 84 C1 80 60 16 19
replace_bytes = 0148, 38 9C 65 DC 5A 9C 04 9A, CE DC 45 FD EB 06 A1 20
replace_bytes = 0150, 27 6C C3 0B 50 E6 7D 25, 10 4E 9D 0D 75 C2 F0 F9
replace_bytes = 0158, C9 58 85 89 F0 0C D8 A0, C1 0C 30 9E DA 04 23 9C
replace_bytes = 0160, 9F 9B EF 6B F6 25 C2 E1, 27 FC F5 9F 00 C0 C9 C0
replace_bytes = 0168, 2C F3 BE FC 40 53 7D 11, 08 83 01 C1 0C 40 EA 94
replace_bytes = 0170, 0E 67 19 F7 E5 4F 22 0D, D5 08 83 01 A1 0C C0 6C
replace_bytes = 0178, AA 0D 2F 40 99 F7 05 22, E2 CC EF 84 E1 F3 83 19
replace_bytes = 0180, 4D 39 44 78 4E 39 52 46, A4 C0 C9 C0 08 C7 6F 42
replace_bytes = 0188, 80 F4 AF 7D 83 4B BC 20, 5E C2 78 00 00 00 00 00
replace_bytes = 0190, 68 EA 2E 21 29 51 73 CD, 00 00 00 00 00 00 00 00
replace_bytes = 0198, 2F 56 AD DF 75 00 00 02, 00 00 00 00 00 00 00 02
</Patch>
Thank you, works well on my Kobo Mini. I attached two pictures, one with "New home screen increasing cover size" activated and one with the quoted patch.

Is this replacement on the top some kind of qt .ui file? Simple disassembly doesn't seem to do the trick and the bytes before the patch address is layout data in ascii. Any hints for understanding the patch? Would it be possible to add a second book row?
Attached Thumbnails
Click image for larger version

Name:	New home screen increasing cover size pixelized.png
Views:	455
Size:	71.2 KB
ID:	162092   Click image for larger version

Name:	Only reading and My books pixelized.png
Views:	427
Size:	93.0 KB
ID:	162093  
Namenlos is offline   Reply With Quote
Advert
Old 02-04-2018, 04:08 PM   #66
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by Namenlos View Post
Thank you, works well on my Kobo Mini.
I'm glad it works.
Quote:
Any hints for understanding the patch?
The code involved is in zlib 74.
Spoiler:
Code:
#row1col2,#row2col2,#row3 {qproperty-visible:false;}

Quote:
Would it be possible to add a second book row?
Perhaps, but I don't think so.

Good luck.
jcn363 is offline   Reply With Quote
Old 02-05-2018, 06:13 AM   #67
gillesit
Member
gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.gillesit shines like a glazed doughnut.
 
Posts: 24
Karma: 8788
Join Date: Nov 2014
Location: Italy
Device: Pocketbook 912 - Kobo AuraOne
Quote:
Originally Posted by jcn363 View Post

Menu without text and without header in the kepub
This is a variant of `Custom Header menubar - reduce height by 50%` patch
then you can't use with it or any related.
[SPOILER][CODE]
# Choose/activate only one of the following two
# Both remove the clock and % too
Is it possible to leave the clock?
Ciao
gillesit is offline   Reply With Quote
Old 02-05-2018, 07:11 AM   #68
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by gillesit View Post
Is it possible to leave the clock?
No.
Good luck.
jcn363 is offline   Reply With Quote
Old 02-05-2018, 10:38 AM   #69
Namenlos
Enthusiast
Namenlos began at the beginning.
 
Posts: 37
Karma: 10
Join Date: Jul 2014
Device: Kobo Mini
Quote:
Originally Posted by jcn363 View Post
The code involved is in zlib 74.
Spoiler:
Code:
#row1col2,#row2col2,#row3 {qproperty-visible:false;}


Good luck.
Thanks, I managed to extract the part by using binwalk. Is row2col2 the author collection with "1 unread book" on the bottom?

btw smart to remove all the whitespaces to make room for your addition!
Namenlos is offline   Reply With Quote
Old 02-06-2018, 04:57 AM   #70
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by Namenlos View Post
Is row2col2 the author collection with "1 unread book" on the bottom?
Yes, it's the middle right of the home screen (collections).
Good luck.
jcn363 is offline   Reply With Quote
Old 02-11-2018, 02:11 PM   #71
Seyyid
Junior Member
Seyyid began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2018
Device: Kobo H2O Model1
Hi guys ım new my english not too good ı have one Question the libadobe.so.patch: have no yes or no option how can active these patch
Seyyid is offline   Reply With Quote
Old 02-11-2018, 02:35 PM   #72
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 34,517
Karma: 144552660
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Seyyid View Post
Hi guys ım new my english not too good ı have one Question the libadobe.so.patch: have no yes or no option how can active these patch
The first option has a `no` so change that to 'yes' to enable that option. The second options, as it says, is "# Missing, last working in version ?". This means that this option is not available.
DNSB is offline   Reply With Quote
Old 02-16-2018, 11:32 AM   #73
JFeole
Connoisseur
JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.
 
Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
Hi,

Not sure this is correct forum, question on Kobo Aura One, latest firmware, with patches applied.

I just noticed the line spacing slider in Nickel has no effect, either on sideloaded font, or any of the built-in ones?

Is this a known thing, or, do i have to aply any of the other patches?
I usually jus enable the:

Advanced Fonts Control
Fix three KePub fullScreenReading bugs

John
JFeole is offline   Reply With Quote
Old 02-16-2018, 12:47 PM   #74
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 nook_nerd View Post
I just noticed the line spacing slider in Nickel has no effect, either on sideloaded font, or any of the built-in ones?
It is most likely a problem with the book's stylesheet.

For KePub books you can enable the `Force user line spacing in KePubs` patch, or for ePub books the two-part `Force user line spacing in ePubs` patch; these might have unwanted effects in some books with dropcaps or other fancy formatting.
GeoffR is offline   Reply With Quote
Old 02-17-2018, 06:49 AM   #75
JFeole
Connoisseur
JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.JFeole solves Fermat’s last theorem while doing the crossword.
 
Posts: 93
Karma: 28862
Join Date: Jul 2010
Device: Kobo_Aura_H2O, Kobo_Aura_One, Kobo Sage
Thanks Geoff, that was it alright..

John
JFeole is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.13.1 GeoffR Kobo Developer's Corner 56 07-01-2016 09:59 AM
Instructions for patching firmware 3.15.0 GeoffR Kobo Developer's Corner 146 05-24-2016 06:10 AM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 AM
Instructions for patching firmware 3.11.0 GeoffR Kobo Developer's Corner 226 06-01-2015 05:32 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM


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


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