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 01-11-2020, 12:37 PM   #196
LucyOne
Librocubicularist
LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.LucyOne ought to be getting tired of karma fortunes by now.
 
LucyOne's Avatar
 
Posts: 617
Karma: 11908623
Join Date: Dec 2013
Location: Germany
Device: PocketBook InkPad 3 & Touch HD 3, Kobo Clara HD, Kindle Paperwhite 5
OK, thanks, geek!
LucyOne is offline   Reply With Quote
Old 01-11-2020, 03:11 PM   #197
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
There's a few patches not working for me on a Glo HD, and with all the changes and renames, I'm sure I'm doing something wrong, but haven't been able to figure out where the problem is.

I can't seem to change the page number font back to Georgia as I had it under 4.12.12111 (the firmware I've updated from). I've changed books, flipped over a chapter marker to trigger refresh, shut down and back on, but page numbers are still in Avenir font.

The advanced font control also is not working at all on any font, not even Kobo's default fonts.

The bottom menu doesn't seem to get reduced in size (assuming I'm using the correct patch), it's a full inch in height.

These are the patches I've enabled, maybe I have 2 that shouldn't be used together, or missed something I do need to add for the above to work:

Spoiler:
src/nickel.yaml:
Show all games: yes
Reduce top/bottom page spacer: yes
Dictionary pop-up - increase available text area: yes
Increase Book Details synopsis area: yes
Increase library cover size: yes
Reduce new header/footer height: yes
Custom new header/footer font: yes
Remove footer (row3) and increase cover size on new home screen: yes

src/libnickel.so.1.0.0.yaml:
Replace adobe page numbers toggle with invert screen: yes
Disable all tutorial dialogs: yes
Remove recommendations (row1col2) from home screen: yes
Hide top-left menu item - Pocket: yes
Hide top-left menu item - Store: yes
Hide top-left menu item - Recommended: yes
Hide top-left menu item - Wishlist: yes
Hide top-left menu item - Activity: yes
Enable advanced settings for all fonts: yes
Remove title from reading header/footer: yes
DeveloperSettings - AutoUsbGadget: yes
My 24 line spacing values: yes
Custom left & right margins: yes
Custom font sizes: yes
ePub disable built-in body padding-bottom: yes
Custom kepub default margins: yes
Force user line spacing in KePubs: yes
Force user line spacing in ePubs (part 1 of 2): yes
Force user font-family in ePubs (Part 1 of 2): yes
ePub constant font sharpness: yes
KePub constant font sharpness: yes
Custom header/footer page number text: yes

src/librmsdk.so.1.0.0.yaml:
Disable orphans/widows avoidance: yes
Force user line spacing in ePubs (Part 2 of 2): yes
Force user font-family in ePubs (Part 2 of 2): yes
Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt): yes


And in nickel.yaml, under "Custom new header/footer font:" I changed line 332 to read:

Spoiler:
# Un-comment and edit replacement font-family to change header/footer font
- {Find: "font-family: Avenir;", Replace: "font-family:Georgia;"}


What am I doing wrong or missing?
Ripplinger is offline   Reply With Quote
Advert
Old 01-11-2020, 03:15 PM   #198
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: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
I misunderstood you at the beginning.

The font changes, but not immediately, you must first open any book. And in it to highlight any word.

Last edited by Semwize; 01-11-2020 at 03:28 PM.
Semwize is offline   Reply With Quote
Old 01-11-2020, 03:22 PM   #199
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,120
Karma: 144284184
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
That should be able to be done with a CSS patch. If nobody else wants to do it, I'll probably get around to it by next weekend.

P.S. This type of post belongs in the request thread.
If possible, I would like to have Back to Home patched to My Books if that's possible (for both ePub and KePub). I can go home from My Books if I want. Thanks.
JSWolf is offline   Reply With Quote
Old 01-11-2020, 03:26 PM   #200
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by Semwize View Post
Maybe you missed 4 spaces at the beginning of the line.

Look in the log.txt file
This is the spacing for the one line I changed, it's actually 8 spaces at the beginning. I had also tried it to line up with Replacements at 6 spaces, and that kicked out an error in the log file. The batch file ran correctly and completed with how it was above, so I'm assuming the spacing is correct, right?
Attached Thumbnails
Click image for larger version

Name:	Spacing.jpg
Views:	209
Size:	297.9 KB
ID:	176336  
Ripplinger is offline   Reply With Quote
Advert
Old 01-11-2020, 03:29 PM   #201
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by Semwize View Post
I have understood you correctly.

The font changes, but not immediately, you must first open any book. And in it to highlight any word.
I tried also highlighting a word in 2 books, still the font doesn't change.
Ripplinger is offline   Reply With Quote
Old 01-11-2020, 03:41 PM   #202
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: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
Ripplinger, you have no mistakes.

And the font has not changed? Try changing the font in the open book.
-------------------------
Yes you are right. Included this patch: only the left side of the footer (the name of the book) changes, the page number does NOT change.

This has already been discussed in the next topic, my fault that I forgot, sorry.

Last edited by Semwize; 01-11-2020 at 03:58 PM.
Semwize is offline   Reply With Quote
Old 01-11-2020, 04:39 PM   #203
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Thanks for that info, I missed that thread when digging through for the changes in the last few firmwares. The odd thing is that I accidentally left the full bottom info with book title on one of my attempts to fix it, and it also didn't change the font then either.

I think I'll go back to the older firmware I had. I've completely lost all advanced font controls, and I really dislike that 1" bottom menu when you tap, makes the older firmware more usable for me.

Although I did really like getting rid of most of the garbage in the top left menu that I don't ever use, the Help link there is pretty useless as well and should have a way to get rid of it.
Ripplinger is offline   Reply With Quote
Old 01-11-2020, 04:47 PM   #204
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: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
The title font will change exactly, but the page number is not.

If you don't like the font Avenir - just delete it, then Georgia will be everywhere. And in the page number.
Semwize is offline   Reply With Quote
Old 01-11-2020, 05:11 PM   #205
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Ripplinger View Post
I think I'll go back to the older firmware I had. I've completely lost all advanced font controls
The advanced font patch had to be re-written by geek1011. It's new name is 'Enable advanced settings for all fonts'. It's still in libnickel.so.1.0.0.yaml and it's working OK.
jackie_w is offline   Reply With Quote
Old 01-11-2020, 05:51 PM   #206
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by jackie_w View Post
The advanced font patch had to be re-written by geek1011. It's new name is 'Enable advanced settings for all fonts'. It's still in libnickel.so.1.0.0.yaml and it's working OK.
I did list that patch with the new name in my first post above, it's under libnickel where it should be:
Enable advanced settings for all fonts: yes

The only other thing I can think of is that I have the MiniClock mod installed on the reader. Could that be causing some of the issues? It's something I wouldn't be willing to give up though even if it did, I love having the clock and battery level always visible.
Ripplinger is offline   Reply With Quote
Old 01-11-2020, 06:00 PM   #207
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: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Ripplinger: Nope, as explained in details elsewhere, MiniClock has zero interaction with Nickel.

I'd double-check the patching output/logs to check what *actually* ends up being patched in (in case there's a case issue somewhere), because it's definitely working for me (both with ttf & otf fonts. And with MiniClock .).

Last edited by NiLuJe; 01-11-2020 at 06:04 PM.
NiLuJe is offline   Reply With Quote
Old 01-11-2020, 06:06 PM   #208
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: 900
Karma: 270670
Join Date: Jun 2016
Device: Kobo
I saw that you indicated it on your list. This patch works fine for me, including on Glo HD.

There really is a problem with the page number.
Quote:
Originally Posted by Ripplinger View Post
The only other thing I can think of is that I have the MiniClock mod installed on the reader. Could that be causing some of the issues? It's something I wouldn't be willing to give up though even if it did, I love having the clock and battery level always visible.
no
Semwize is offline   Reply With Quote
Old 01-11-2020, 06:06 PM   #209
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,248
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Ripplinger View Post
I did list that patch with the new name in my first post above, it's under libnickel where it should be:
Enable advanced settings for all fonts: yes

The only other thing I can think of is that I have the MiniClock mod installed on the reader. Could that be causing some of the issues? It's something I wouldn't be willing to give up though even if it did, I love having the clock and battery level always visible.
I also have MiniClock installed, so it's not that. At least not if you're reading kepub only.

Having said that I've just opened a test standard epub and it looks like you may be right. Are you reading epub only?

It will need geek1011 to look at this. Can someone else check whether font bolding works in standard epubs before I report it at GitHub.
jackie_w is offline   Reply With Quote
Old 01-11-2020, 06:21 PM   #210
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
Quote:
Originally Posted by jackie_w View Post
Having said that I've just opened a test standard epub and it looks like you may be right. Are you reading epub only?

It will need geek1011 to look at this. Can someone else check whether font bolding works in standard epubs before I report it at GitHub.
Yes, I read epubs only. I did just transfer a few kepubs for my larger camera books to the reader though, and on those kepubs, the advanced font control does work as it should.

The only other issue then, should the bottom menu that comes up when you click anywhere in the page, should that really a full inch in height even with the above patches enabled?
Ripplinger 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.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 06:15 AM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 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.12.0 GeoffR Kobo Developer's Corner 165 02-07-2015 09:22 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM


All times are GMT -4. The time now is 03:55 PM.


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