![]() |
#16 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jun 2020
Device: Aura One
|
|
![]() |
![]() |
![]() |
#17 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Will do. What the patch does is remove some of the L/R margins for the header/footer so you get a longer chapter title (header) and book title (footer) before you get cut off text with ...
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 12-21-2020 at 05:43 PM. |
|
![]() |
![]() |
![]() |
#19 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 813
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
So if I wanted to apply this patch to a Forma, would I change "qApp_deviceIsDragon=true" to "qApp_deviceIsDaylight=true"? What about the qproperty-footerMargin properties?
|
![]() |
![]() |
![]() |
#20 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
Quote:
Code:
Width allocated to the footer captions: - Enabled: yes - Description: | - FindZlib: "ReadingFooter" - ReplaceZlibGroup: Replacements: - Find: "ReadingFooter[qApp_deviceIsDragon=true] {\n qproperty-footerMargin: 170;\n}" Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n qproperty-footerMargin: 70;\n}" - Find: "ReadingFooter[qApp_deviceIsDaylight=true] {\n qproperty-footerMargin: 221;\n}" Replace: "ReadingFooter[qApp_deviceIsDaylight=true] {\n qproperty-footerMargin: 121;\n}" Last edited by Semwize; 12-15-2020 at 09:43 AM. Reason: aggregated |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 813
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Thank you!
ETA: It works perfectly on my Forma. Thank you so much. Last edited by icallaci; 12-15-2020 at 09:45 AM. |
![]() |
![]() |
![]() |
#23 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,801
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
If @Semwize wants, I can add it to the main set of patches too.
|
![]() |
![]() |
![]() |
#24 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
@geek1011
Entities should not be multiplied unnecessarily. IMHO, it's better to add lines to the "Custom new header / footer font" patch. And rename this patch, since there, besides the font, many things change ![]() |
![]() |
![]() |
![]() |
#25 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#26 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Quote:
Incidentally, if I add the beta item 3 to standard nickel.yaml I don't think I can use @Semwize's new values as the default Replace values. This is because they are too small in some circumstances. If a dogear bookmark is set at top right, then it's possible for the white background of the caption to partially overlay the left edge of the dogear icon - which is ugly. My defaults would be to make the Replace values exactly the same width as each model's dogear icon so that overlaying is not possible. Of course, individual users will still be able to customise their own values as small as they like if they don't care about the aesthetics. Thoughts??? Last edited by jackie_w; 12-15-2020 at 11:16 AM. |
||
![]() |
![]() |
![]() |
#27 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
@jackie
This will turn out to be very huge, confusing, and incomprehensible to many users. Another option is to make a 3rd patch for the 'ReadingFooter'. And in it to combine Spoiler:
and
Spoiler:
with a new name.
IMHO, so it will be clearer. |
![]() |
![]() |
![]() |
#28 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
If it can't be a single patch it will have to remain at 2 patches and the beta stuff will be added to either of the 2 existing patches. There's logic for adding it to Custom new header/footer font because that's where all the other caption options are (font-family, font-size, margin-top/bottom). However, there's also logic for adding it to Reduce new header/footer height because it's currently the least complex of the 2 patches. The split you suggested is not practical as it would separate caption font-size into 2 different patches (Trilogy & all other models) |
|
![]() |
![]() |
![]() |
#29 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
@jackie
It doesn't matter where to add, just change the title to make it clearer for beginners, for example, 'Custom new header / footer font, position and caption'. |
![]() |
![]() |
![]() |
#30 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
When I add this feature to standard nickel.yaml I'll be providing a link to your post, in the patch Description, to demo the Before/After effects so users can decide whether they're interested or not. Your screenshot is only the 'After' so it would be helpful if you could also add a matching 'Before' screenshot for comparison. Last edited by jackie_w; 12-15-2020 at 02:27 PM. |
|
![]() |
![]() |
![]() |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
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.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 05:32 AM |
Instructions for patching firmware 3.12.0 | GeoffR | Kobo Developer's Corner | 165 | 02-07-2015 09:22 AM |
Instructions for patching firmware 3.8.0 | GeoffR | Kobo Developer's Corner | 92 | 10-22-2014 07:22 AM |