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-12-2020, 05:55 AM   #436
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
There is a way to make the left/right halves of header/footer match but it's not a kobopatch and you may not wish to go this far.

You can do it by overriding the built-in 'Avenir Next' system font throughout the whole GUI. It requires you to:
  • Choose any custom font (4 files regular, italic, bold, bolditalic)
  • Use a font editor (e.g. FontForge, TTFEdit) to change the internal fontname from whatever to Avenir Next in all 4 files
  • Change the external filenames to Avenir Next.ttf, Avenir Next-Italic.ttf, etc
  • Sideload the 4 files to /fonts like any other sideloaded font
  • Reboot the Kobo
It's still not a perfect solution because immediately after any full reboot the Kobo will use the built-in 'Avenir Next' rather than your sideloaded version. You need to force the Kobo to load it's sideloaded fonts. There are some tips in post #2 of this thread. Once your sideloaded font has been accessed it will remain available until the next reboot, i.e. it will survive Sleep mode.
This is a great little trick that gets the page numbers changed to whatever you want. Thanks for this tip.

I do something similar because of my crappy eyesight to always force bolder fonts. I just make a copy of my preferred font for bold and bold italic, then simply rename the copies to -Regular and -Italic, load them onto the reader and I always have the bolder font. I only rename the file names, it works without having to load them into a font program to do internal renaming.

Thanks again for keeping us really picky readers happy!
Ripplinger is offline   Reply With Quote
Old 01-12-2020, 08:28 AM   #437
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by LucyOne View Post
@jackie_w: The patch works fine, thank you! I've changed both the font weight and the font to my liking.
Thanks for testing. I've added this new nickel patch to the standard pack for future releases.

Please note, I've changed the patch name slightly to Customise Header back button.

(Pedantic, maybe, but functionally it's a button not a label )

Last edited by jackie_w; 01-12-2020 at 08:32 AM.
jackie_w is offline   Reply With Quote
Old 01-12-2020, 11:32 AM   #438
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
Quote:
Originally Posted by JSWolf View Post
If such a patch was created and allowed, it would enable borrowing from Overdrive on your Kobo for devices where that's not enabled.
Hmmm...I don't fully understand. I have a Forma and I can borrow books from overdrive. Are you saying that older models don't have OverDrive?
droopy is offline   Reply With Quote
Old 01-12-2020, 11:53 AM   #439
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: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@droopy: Yes. I don't remember the exact cut-off, though (Aura One?).
NiLuJe is offline   Reply With Quote
Old 01-12-2020, 02:43 PM   #440
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,796
Karma: 146391129
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 NiLuJe View Post
@droopy: Yes. I don't remember the exact cut-off, though (Aura One?).
Yes, that is the first Kobo with Overdrive.
JSWolf is online now   Reply With Quote
Old 01-13-2020, 12:49 AM   #441
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: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by jackie_w View Post
There is a way to make the left/right halves of header/footer match but it's not a kobopatch and you may not wish to go this far.

You can do it by overriding the built-in 'Avenir Next' system font throughout the whole GUI.
Can simply remove Avenir. Then the default will be Georgia. If I understood correctly, Ripplinger wanted the Georgia font…

It's easier and faster.
Semwize is offline   Reply With Quote
Old 01-13-2020, 08:31 AM   #442
dmapr
Evangelist
dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.
 
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
Quote:
Originally Posted by Semwize View Post
Can simply remove Avenir. Then the default will be Georgia. If I understood correctly, Ripplinger wanted the Georgia font…

It's easier and faster.
Are you sure it'll fall back to Georgia and not to another sans-serif font the way it does now in other places in the UI, like series names? Not to mention that unless there's already a patch for removing Avenir font it's that simple.
dmapr is offline   Reply With Quote
Old 01-13-2020, 12:04 PM   #443
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 dmapr View Post
Are you sure it'll fall back to Georgia and not to another sans-serif font the way it does now in other places in the UI, like series names? Not to mention that unless there's already a patch for removing Avenir font it's that simple.
I couldn't figure out how to remove a built-in system font, but then I tried jackie_w's method I quoted in my post #436 above and that worked perfectly. So I'm a happy camper with this firmware at this point.
Ripplinger is offline   Reply With Quote
Old 01-13-2020, 12:33 PM   #444
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: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by dmapr View Post
Are you sure it'll fall back to Georgia and not to another sans-serif font the way it does now in other places in the UI, like series names? Not to mention that unless there's already a patch for removing Avenir font it's that simple.
I checked. Perhaps depends on the language of the system menu.

https://www.mobileread.com/forums/sh...d.php?t=278392
There is a script for removing all system fonts, just edit for yourself.

It is convenient to delete those fonts that you never use. Which you do not need. That they were not in the list of fonts.

Last edited by Semwize; 01-13-2020 at 12:47 PM.
Semwize is offline   Reply With Quote
Old 01-13-2020, 01:46 PM   #445
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,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Does anyone have a list of the system fonts that are not used at all by any part of the Kobo firmware? My H2O is set to English and always will be while I own it.
JSWolf is online now   Reply With Quote
Old 01-13-2020, 02:39 PM   #446
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Semwize View Post
Can simply remove Avenir. Then the default will be Georgia. If I understood correctly, Ripplinger wanted the Georgia font…

It's easier and faster.
"Easier and faster" is a valid point-of-view, but subjective. Won't the next firmware update put the system fonts back again, so you have to repeat the process?

The method I outlined should survive a typical firmware update. Once it's done, it's done.

Anyway, it doesn't really matter. Multiple user choices is always good
jackie_w is offline   Reply With Quote
Old 01-13-2020, 02:45 PM   #447
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: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
Does anyone have a list of the system fonts that are not used at all by any part of the Kobo firmware? My H2O is set to English and always will be while I own it.
Spelled out in css:

Avenir
Georgia
Sans-SerifJP
Sans-SerifZH-Simplified
Sans-SerifZH-Traditional

If they are lacking, similar ones are taken, removing them, you can configure the desired font display.
Quote:
Originally Posted by jackie_w View Post
"Easier and faster" is a valid point-of-view, but subjective. Won't the next firmware update put the system fonts back again, so you have to repeat the process?

The method I outlined should survive a typical firmware update. Once it's done, it's done.

Anyway, it doesn't really matter. Multiple user choices is always good
Will return, you will also have to patch (delete) again or remove directly from the new firmware.

I just described another configuration method, nothing more, everyone chooses the most convenient for themselves.

Many users do not use (or use little) system fonts for reading books. And they increase the list.

And for myself, as a result, I torn Avenir from the Kindle firmware And stopped there. I'm waiting for Kobo to finally fix (update) Avenir.

Last edited by Semwize; 01-13-2020 at 03:01 PM.
Semwize is offline   Reply With Quote
Old 01-13-2020, 05:57 PM   #448
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,796
Karma: 146391129
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 Semwize View Post
Spelled out in css:

Avenir
Georgia
Sans-SerifJP
Sans-SerifZH-Simplified
Sans-SerifZH-Traditional
Which font is the default sans-serif for ePub? I thought it was Avenir. If that is the case, then Avenir is used. Also, what is the default serif font for ePub?
JSWolf is online now   Reply With Quote
Old 01-13-2020, 07:11 PM   #449
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: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
JSWolf,
to be honest, I didn't really understand the question. This is obvious and can be seen in librmsdk.so.1. 0. 0. yaml

Avenir and Georgia
Semwize is offline   Reply With Quote
Old 01-13-2020, 09:50 PM   #450
dmapr
Evangelist
dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.dmapr ought to be getting tired of karma fortunes by now.
 
Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
Quote:
Originally Posted by Semwize View Post
I checked. Perhaps depends on the language of the system menu.

https://www.mobileread.com/forums/sh...d.php?t=278392
There is a script for removing all system fonts, just edit for yourself.

It is convenient to delete those fonts that you never use. Which you do not need. That they were not in the list of fonts.
I used to delete them back in the days of 2.x but hasn't bothered since I almost never go to the list of fonts other than to trigger the load of side-loaded Avenir

Wow, this script doesn't take any prisoners! I was only deleting the ones I didn't want, not renaming the whole directory.
dmapr is offline   Reply With Quote
Reply

Tags
kobopatch, patches, patching, request, requests


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request for PW3 kernel [posted in another thread] mustdie Kindle Developer's Corner 5 10-21-2015 04:28 PM
Kobobooks.com future feature request thread Mrs_Often Kobo Reader 47 11-08-2012 11:59 AM
[Old Thread] Calibre 'feature request' thread Waba Calibre 2 02-10-2010 07:52 PM
Feature request thread? Dahak Calibre 1 08-02-2009 12:51 AM
3rd party software request thread Adam B. iRex 23 11-28-2008 01:08 PM


All times are GMT -4. The time now is 07:11 AM.


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