![]() |
#61 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#62 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Quote:
I only just updated from FW 4.9.x (without the patch) to this FW, so unfortunately I don’t know in which FW the patch last worked... |
|
![]() |
![]() |
![]() |
#63 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#64 |
Member
![]() Posts: 20
Karma: 12
Join Date: Sep 2019
Device: Clara HD
|
Hello! First of all, THANK YOU to the developers who have made all of these patches possible. I personally use 15 patches and can't imagine my Kobo without these tweaks!
![]() My issue: for some reason, I can't get the font of the footer / header to change. The weird thing is, I can change the "color" in the same line of code, but I CANNOT change the font. I even tried to use a built-in font (Georgia) to rule out this being an issue with my preferred sideloaded font (Bookerly). I attached a screenshot of the lines of code that I altered in the "Custom new header/footer font" section of nickel.yaml if anyone would be kind enough to look for obvious errors. I also attached an image of my reading screen, showing that the color change went into effect, making the numbers gray, but the font continues to be Avenir. Help! Thank you! |
![]() |
![]() |
![]() |
#65 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
If you're mostly reading epubs, then you need to first open a kepub book on the reader. The Georgia font should show in the kepub and then in the epubs after that. If you shut off your reader between reading, you'll need to repeat that each time you start the reader. My reader only ever sleeps and it works perfectly on epubs once it's triggered by opening 1 kepub.
I also had to put a copy of the Georgia font onto the reader with my other custom fonts, otherwise it wouldn't change for me until I did that. I don't think that's normally required though. |
![]() |
![]() |
![]() |
#66 | ||
Member
![]() Posts: 20
Karma: 12
Join Date: Sep 2019
Device: Clara HD
|
Quote:
Quote:
Thanks for your ideas, though! ![]() |
||
![]() |
![]() |
![]() |
#67 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
The nickel.yaml patch you're talking about, Custom new header/footer font, can change the header/footer font and almost certainly has. The problem is that, unfortunately, it can only change the font-family for the left-hand side of the header & footer, i.e. chapter name & book title - not the right-hand side 'page x of y' text which is hard-coded to Avenir somewhere in the firmware that isn't accessible to a nickel.yaml patch. It appears you have also enabled the libnickel.so.1.0.0.yaml patch Remove title from reading header/footer, i.e. don't display chapter name and book title. Consequently, the font-family change you made in the first patch is "invisible" to you. ![]() Hopefully that explains the 'Why' of your issue? If anything can be done to change the current patch situation it would need to come from @geek1011. Last edited by jackie_w; 10-28-2020 at 11:33 PM. |
|
![]() |
![]() |
![]() |
#68 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
I have my page setup exactly like johnnydarko's sample... no header, and only the page number shown exactly as he has it. It sounds like it shouldn't be working for me either, but it does? Here's a sample of my epub page (Firmware 4.24.15676 on the GloHD).
|
![]() |
![]() |
![]() |
#69 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
It sounds like you're using option 2. Both require use of a font editor and will affect parts of the GUI you may or may not have wanted to affect. In other words, more involved than simple patch enabling. So I wouldn't normally suggest them as options to new users until it's obvious that they're very comfortable with hacking/patching. If anyone wants to do this GUI font hacking, they should read this thread then decide how they want to proceed. Last edited by jackie_w; 10-28-2020 at 11:20 PM. |
|
![]() |
![]() |
![]() |
#70 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Ah, so that's why it wouldn't work before for me unless I put a copy of Georgia font into my fonts directory on the reader where all my custom fonts were. I could never figure that one out.
Thanks for the explanation. I'm just glad it's working for me. |
![]() |
![]() |
![]() |
#71 | |
Member
![]() Posts: 20
Karma: 12
Join Date: Sep 2019
Device: Clara HD
|
Quote:
I will consider if it's important enough for me to have my page numbers "match" my book text, and in the process sacrificing the Avenir used throughout the system. I HAVE worked with FontForge on my Mac before, so I think I could jump through the hoops to get it done. I will mull this over. And thank you, again, for your valuable input! Yes, when I saw your screenshot, I literally said "HOW?" out loud. I guess we now know, thanks to jackie_w. |
|
![]() |
![]() |
![]() |
#72 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
One odd (and I'll admit really picky) thing my screenshot above pointed out to me was that this firmware has the page number located one pixel lower. I always keep the battery and time on the same line and I could see the difference in the screenshot. I made sure it wasn't just a fluke of the current book, and had to lower the placement of the battery and time by one pixel. But my other reader on 4.20.14622 did not need that adjustment.
|
![]() |
![]() |
![]() |
#73 | |
Member
![]() Posts: 20
Karma: 12
Join Date: Sep 2019
Device: Clara HD
|
Quote:
By the way, you can adjust the vertical placement of the page number (without pushing the text of the book up) by adjusting line 334 in nickel.yaml, under "Custom new header/footer font": Replace: "#caption[newFooter=true] {\n font-size: 14px; margin-top: -1px;}" Making margin-top "-1px" will move the page number up by 1 pixel. Last edited by johnnydarko; 10-30-2020 at 06:31 PM. |
|
![]() |
![]() |
![]() |
#74 |
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Yeah, those little misalignments drive me nuts.
I know it could be fixed there, but it's generally easier (for me at least) to keep all the patches default. And it was actually a simpler fix to just change the position in the config file for the clock on the reader, no rebooting or loading a patch then at all. |
![]() |
![]() |
![]() |
#75 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
If you do rewrite the patch, would it be possible to have the option to select a larger difference between the smallest time and the largest time? I currently have a smallest time of 34m and a largest of 148h32m, because the customisation tool wouldn't let me select anything further apart. Is that a tool-limitation, or is it not possible in the patch/firmware? I would prefer to have approximately 5 or 10 minutes smallest and 168h largest time.
|
![]() |
![]() |
![]() |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
![]() |
||||
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.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 AM |
Instructions for patching firmware 3.16.0 | GeoffR | Kobo Developer's Corner | 74 | 08-12-2015 02:12 PM |
Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 05:14 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 |