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 10-18-2019, 09:54 AM   #76
GERGE
Guru
GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.GERGE ought to be getting tired of karma fortunes by now.
 
Posts: 733
Karma: 5797160
Join Date: Jun 2010
Location: Istanbul
Device: Kobo Libra
Quote:
Originally Posted by Semwize View Post
try

Spoiler:
Code:
Custom font sizes:
  - Enabled: no
  - Description: |
      Changes the range of sizes on the font size slider so that there are more of
      the small sizes and fewer of the large sizes.
      With this patch enabled you will not be able to select the very large font
      sizes, but will be able to make finer adjustment to the smaller sizes.
    # Font sizes depend on the device's screen resolution. Unpatched, the sizes
    # increase in steps of 1 from the smallest size up to size 22, then in steps
    # of 2 up to size 50, then in steps of 4 up to the largest size:
    #
    #  AuraOne/Forma: 18px - 194px (55 sizes)
    #  GloHD/ClaraHD: 14px - 150px (48 sizes)
    #  AuraHD/H2O:    12px - 150px (50 sizes)
    #  Glo/Aura:      12px - 122px (43 sizes)
    #  Touch/Mini:    12px - 90px  (35 sizes)
    #
    # The example replacement values in this patch result in the following ranges,
    # with increases in steps of 1 from the smallest size up to size 44, then
    # steps of 2 up to size 68, then steps of 4 up to the largest size:
    #
    #  AuraOne/Forma: 18px - 132px (55 sizes)
    #  GloHD/ClaraHD: 14px - 108px (53 sizes)
    #  AuraHD/H2O:    12px - 108px (55 sizes)
    #  Glo/Aura:      12px - 88px (50 sizes)
    #  Touch/Mini:    12px - 80px (48 sizes)
    #
    # Start with this font size: (AuraOne/Forma, GloHD/ClaraHD, Others)
  - ReplaceInt: {Offset: 0x90D66C, Find: 18, Replace: 18}
  - ReplaceInt: {Offset: 0x90D518, Find: 14, Replace: 14}
  - ReplaceInt: {Offset: 0x90D654, Find: 12, Replace: 12}
    #
  - ReplaceInt: {Offset: 0x90D540, Find: 21, Replace: 43} # Add font sizes in increments of 1 until this size exceeded}
  - ReplaceInt: {Offset: 0x90D546, Find: 22, Replace: 44} # Continue from this font size}
  - ReplaceInt: {Offset: 0x90D556, Find: 49, Replace: 67} # Add font sizes in increments of 2 until this size exceeded}
  - ReplaceInt: {Offset: 0x90D560, Find: 50, Replace: 68} # Continue from this font size}
    #
    # Add font sizes in increments of 4 until this size exceeded:
    # (AuraOne/Forma, AuraHD/H2O/GloHD/ClaraHD, Glo/Aura, Touch/Mini)
  - ReplaceInt: {Offset: 0x90D670, Find: 195, Replace: 132}
  - ReplaceInt: {Offset: 0x90D528, Find: 150, Replace: 108}
  - ReplaceInt: {Offset: 0x90D68E, Find: 122, Replace: 88}
  - ReplaceInt: {Offset: 0x90D68A, Find: 90,  Replace: 80}
Works with Libra. Offsets are the same.
GERGE is offline   Reply With Quote
Old 10-18-2019, 10:02 AM   #77
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@GERGE: Which ones? (I'd assume the H2O ones, but who knows... ;p).
NiLuJe is offline   Reply With Quote
Advert
Old 10-18-2019, 11:32 AM   #78
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by NiLuJe View Post
@GERGE: Which ones? (I'd assume the H2O ones, but who knows... ;p).
I also think that the AuraHD/H2O/Libra, but...
Semwize is offline   Reply With Quote
Old 10-18-2019, 01:55 PM   #79
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,898
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Any chance we could get the portrait/landscape button back? Thanks.
JSWolf is offline   Reply With Quote
Old 10-18-2019, 04:58 PM   #80
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
Any chance we could get the portrait/landscape button back? Thanks.
This has already been done in v53: https://github.com/geek1011/kobopatc...c5165a879e62dd
geek1011 is offline   Reply With Quote
Advert
Old 10-18-2019, 04:59 PM   #81
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by GERGE View Post
Works with Libra. Offsets are the same.
Are you sure? I did see some code changes there, and that code doesn't usually change unless there is a new device. I haven't actually read through it yet, though.
geek1011 is offline   Reply With Quote
Old 10-18-2019, 05:24 PM   #82
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,898
Karma: 146918083
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 geek1011 View Post
Thanks!

Is there anything else to be done to v53?

Last edited by JSWolf; 10-18-2019 at 05:27 PM.
JSWolf is offline   Reply With Quote
Old 10-18-2019, 05:58 PM   #83
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
Thanks!

Is there anything else to be done to v53?
See the release notes: https://github.com/geek1011/kobopatc...leases/tag/v53.
geek1011 is offline   Reply With Quote
Old 10-18-2019, 06:01 PM   #84
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,898
Karma: 146918083
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 geek1011 View Post
Thanks. Is there a time frame when V53 mark 2 will be released with the new commits?

One other question for now. has the larger sleep timer been fixed for 4.18? It did not work for 4.17.x.
JSWolf is offline   Reply With Quote
Old 10-18-2019, 06:37 PM   #85
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by JSWolf View Post
Thanks. Is there a time frame when V53 mark 2 will be released with the new commits?

One other question for now. has the larger sleep timer been fixed for 4.18? It did not work for 4.17.x.
You mean v54, as the versions are all incremental. And I haven't decided when to make the release yet, as I prefer larger releases if possible.

About the sleep patch, read through the issue on GitHub and the patch description. Basically, the patch itself isn't broken, but at larger intervals, other things may interfere with it.
geek1011 is offline   Reply With Quote
Old 10-19-2019, 10:12 AM   #86
Dirk-71
Groupie
Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.Dirk-71 turned on, tuned in, and dropped out.
 
Posts: 160
Karma: 35462
Join Date: Dec 2016
Location: Germany
Device: Kobo: Clara BW, Libra 2, Aura One
Is there a chance we get 24 line spacing? It doesn't seem that GeoffR will catch up!?
Dirk-71 is offline   Reply With Quote
Old 10-19-2019, 02:30 PM   #87
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: 46,737
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Dirk-71 View Post
Is there a chance we get 24 line spacing? It doesn't seem that GeoffR will catch up!?
Given that GeoffR hasn't been on Mobileread for the last 2 months, it does seem likely that someone else may have to take over the patches he maintained until/if real life gets out of his way.
DNSB is offline   Reply With Quote
Old 10-19-2019, 02:38 PM   #88
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,898
Karma: 146918083
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 DNSB View Post
Given that GeoffR hasn't been on Mobileread for the last 2 months, it does seem likely that someone else may have to take over the patches he maintained until/if real life gets out of his way.
Does anyone know if GeoffR is OK? I did send him a PM earlier this month and no reply.
JSWolf is offline   Reply With Quote
Old 10-19-2019, 03:48 PM   #89
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by DNSB View Post
Given that GeoffR hasn't been on Mobileread for the last 2 months, it does seem likely that someone else may have to take over the patches he maintained until/if real life gets out of his way.
Yes, I've been maintaining most of his patches for a while (even before he disappeared), except for some of the largest ones (which I don't use or completely understand). I'll probably update the 24 line spacing values myself when I get around to it.
geek1011 is offline   Reply With Quote
Old 10-20-2019, 04:46 PM   #90
Alanon
Connoisseur
Alanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watch
 
Alanon's Avatar
 
Posts: 76
Karma: 10742
Join Date: Jul 2017
Location: Serbia
Device: Kobo Aura One
A quick question for those in the know. I'm trying to make text display as similarly as possible in epubs and kepubs. The files are pre-processed in Calibre to eliminate potentially problematic margins, paragraph spacing, etc, yet I'm still seeing differences in epub/kepub with identical font settings and pages full of clean, plain text.

In reading through the patches, I found this warning, which seems to describe what I'm seeing:
Quote:
Beware that the KePub reader has problems with its page break position when narrow line spacings are selected, depending on which font is used. You can increase the replace_float values at the bottom of each patch to avoid those problems, or else simply refrain from selecting narrowest line spacings when reading KePubs.
I do use very low line height, and the top line is often "fringed" in kepubs, with what seems to be a large empty space at the bottom, fit for at least another line of text. Even in larger values, when the edge fringing is gone, the bottom space often remains, and this seems to be the same regardless of the fonts used?

In the absence of the 24-line patch, I have modified the 10 spacing values patch to reflect the range that I'm used to, but the kepub reader seems to dislike pretty much anything below 0.9? Is there a known minimum line height that the kepub reader can handle? In previous versions I used the adjustable margins patch and that seemed to work like a charm. Now I'm using epub fixed top/bottom margins with kepub default margins to try and even out the text rendering, which seems to be giving me these results.

Am I missing something, or is that just the way it is?
Alanon is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching


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.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 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 12:41 PM.


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