10-31-2021, 08:25 PM | #46 | |
Guru
Posts: 891
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
Quote:
This interval (change) is selected either empirically, or you can copy the metrics from another font (also wrote this, didn't they?). From experience, this happens when the line spacing in the font used is very large. Fixed is a matter of 2 minutes, and you write the second page why you do not want to do this. I have already regretted ten times - that I offered you a solution to the problem. |
|
10-31-2021, 08:47 PM | #47 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Firstly, have you actually tried what @Semwize is suggesting? I can't tell. And until you do that, you can't be sure whether it helps or not. But, going back to the first post, is this only happening after a reboot? Does it happen if you set the font size in one book, open another and set the font there (to something different) and then go back to the first? With this happening around a reboot, it suggests a problem with the database. The font settings are stored for each book in the database. If that cannot be read properly after a reboot, or reopening a book, then what you are seeing is something I would expect. And, considering the thread you are in, have you tried without the patches? You mention two patches. I doubt having those enabled would cause the problem you are reporting. Though there is a possibility that something else has changed which means the settings the patches enable no longer work when they are read from the database. |
|
Advert | |
|
10-31-2021, 09:26 PM | #48 |
Guru
Posts: 891
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
@davidfor
Once upon a time, I went through the fonts, looking for the most optimal for myself. And I noticed that some of the added fonts changed the line spacing after the reboot, it was different from the established. It was cured by changing the line spacing in FontLab. The database has nothing to do with it. This error will never occur for those who use Kobo stock fonts. Appears only with some added fonts. I just fixed all the fonts used and since then no problem. Last edited by Semwize; 10-31-2021 at 09:49 PM. |
10-31-2021, 10:24 PM | #49 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
10-31-2021, 10:37 PM | #50 | |
Guru
Posts: 891
Karma: 270670
Join Date: Jun 2016
Device: Kobo
|
Quote:
I have all the fonts custom. Kobo fonts just don't fit me, I deleted them. Last edited by Semwize; 10-31-2021 at 10:40 PM. |
|
Advert | |
|
10-31-2021, 11:04 PM | #51 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I know Kobo optimized the fonts included with the device. But, that isn't the problem here. The problem is the results are inconsistent. It looks like it depends on when the font is loaded. That speaks of a bug. And as I said, suggests something is not be initialised properly. But, it could be triggered by something in the fonts. Maybe an inconsistent value in the font, or one outside some expected range, is ignored and a default or last value is used. Something like that would explain why changing the font fixes it.
|
11-01-2021, 09:41 PM | #52 | |
Bookmaker
Posts: 420
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Quote:
|
|
11-27-2021, 06:51 AM | #53 |
EPUB Metadata ******
Posts: 523
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
My custom patch has stopped working. (Error: "substring to find is not unique"). It's been too long, and I completely forget how to generate a searchable version of nickel. Can someone remind me? Failing that, perhaps someone knows how to change this to make it work again? My patch reduces the size of the sleeping panel on the Glo HD and looks as follows:
Resize info panel: - Enabled: yes - Description: | Custom patch to change the width of the info panel. - FindZlib: "#infoWidget" - ReplaceZlibGroup: Replacements: # #infoWidget reduce width - {Find: "width: 470px;", Replace: "width: 235px;"} #Dragon # #infoWidget, #infoFrame: reduce top/bottom/right margins - {Find: "Margin: 22px;", Replace: "Margin: 11px;"} #Dragon # #infoFrame: reduce left margin - {Find: "leftMargin: 44px;", Replace: "leftMargin: 22px;"} #Dragon Last edited by BenChen; 11-27-2021 at 06:57 AM. |
11-27-2021, 11:37 AM | #54 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
- FindZlib: "#infoWidget" Code:
- FindZlib: "#infoFrame" |
|
11-27-2021, 06:33 PM | #55 |
EPUB Metadata ******
Posts: 523
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
|
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.15.0 | GeoffR | Kobo Developer's Corner | 146 | 05-24-2016 07:10 AM |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 06:35 PM |
Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 06:20 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 04:40 AM |
Instructions for patching firmware 3.16.0 | GeoffR | Kobo Developer's Corner | 74 | 08-12-2015 03:12 PM |