![]() |
#121 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
You are only allowed to enable one patch from patches which share the same PatchGroup, in your case PatchGroup "ePub force font alternatives". Decide which patch you actually want and disable the other(s). |
|
![]() |
![]() |
![]() |
#122 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why is Disable orphans/widows avoidance: not called Enable orphans/widows avoidance:? The patch enables widows/orphans avoidance not disables.
|
![]() |
![]() |
![]() |
#123 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,705
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For me, the patch disables the code that avoids widows and orphans. If it enabled widows/orphans avoidance, I would not get a single line at the end of a paragraph being pushed to the head of the next page (widow) or a single line at the start of the paragraph being left at the foot of a page (orphan).
|
![]() |
![]() |
![]() |
#124 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#125 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can the patch Unify font sizes: be fixed so it works the reverse way of making KePub match ePub? That way for people that need large font sizes, this will work much better.
|
![]() |
![]() |
![]() |
#126 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
The purpose of the Unify font sizes is to unify font sizes between epub, kepub, not "make kepub size bigger". |
|
![]() |
![]() |
![]() |
#127 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Except, you want widows and orphans. Disabling widows and orphans means you are not letting widows and orphans occur. And widows are the lines left at the end of the page when the rest of the paragraph is on the next page. Whether that is one line, two lines or more, they are widows. If you disable widows and orphans, it means you don't want widows or orphans. That means a paragraph cannot cross the page boundary (ignoring paragraphs that are too long to fit on a page). Somehow, I think that that would mean a lot more empty space at the end of the screen.
|
![]() |
![]() |
![]() |
#128 |
SG-1
![]() Posts: 25
Karma: 10
Join Date: Dec 2021
Device: Libra 2
|
When setting patch overrides in kobopatch.yaml, do they need to be in the same order as the actual patches occur in their corresponding yaml files?
|
![]() |
![]() |
![]() |
#129 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
|
![]() |
![]() |
![]() |
#130 |
SG-1
![]() Posts: 25
Karma: 10
Join Date: Dec 2021
Device: Libra 2
|
ok, thanks!
|
![]() |
![]() |
![]() |
#131 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Is it possible to reverse the patch and match KePub with ePub like has been done ever since the the original patch? Last edited by JSWolf; 01-14-2022 at 08:00 PM. |
|
![]() |
![]() |
![]() |
#132 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#133 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One thing to be careful about is tabs vs spaces. If there are tabs, they'll need to be converted to spaces because if there are tabs in kobopatch.yaml, that will cause none of the patches to happen. I got caught with a few tabs when I recently setup the patches.
|
![]() |
![]() |
![]() |
#134 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,151
Karma: 237634479
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#135 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,053
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
If the patch worked the same as it did before, then no books would need to have the font size adjusted,. Last edited by JSWolf; 01-14-2022 at 08:05 PM. |
|
![]() |
![]() |
![]() |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 05:14 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 |
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 |