@dmapr,
Thanks for responding. I used my old abandoned AuraHD for the same purpose.
I've attached a simple patch which works on the biggest CSS stream in nickel which handles all the basic GUI widgets. It will change all occurrences of Georgia and Avenir to use whatever sideloaded font(s) you specify in the patch.
N.B.: I have tried this myself so I don't think there's much risk involved (but still a good idea to test on a device you don't use much).
To begin with, it might be an idea to set up your kobopatch.yaml file so that this patch is the only one installed so as not to confuse matters.
After you've installed the patched KoboRoot.tgz, and the Kobo has rebooted don't be at all surprised if you don't see your new font on the Home screen. At least some of the Home screen widgets are not affected by this patch, they are in a different CSS stream. In addition, if you haven't already,
please read post #2. You need to force the Kobo to load all its fonts (built-in and sideloaded).
Once you've done that, the best place to check whether it was successful is in the My Books book list. I believe most (all???) its widgets will be affected by the patch, if the patch has worked.
In this patch all the usual Kobo fontname rules apply:
- if the new name contains any spaces wrap it in single quotes,
e.g. 'Kobo Nickel'
- the new name must match EXACTLY the internal fontname as seen in your font drop-down menu
Change the
red bit to your new serif font of choice, but do not remove the ',Georgia' after it.
Change the
blue bit to your new sans-serif font of choice, but do not remove the ',Avenir' after it.
If you want an easy life you could use your Amasis name for both the Replace strings. It would give the GUI a more uniform look.
Put in nickel.yaml (or wherever you normally put your customised nickel patches):
Code:
Custom GUI system fonts beta1:
- Enabled: yes
- Description: Change font-family of basic GUI widgets
- FindZlib: "QWidget[smallIconHeight=true][qApp_deviceIsTrilogy=true]"
- ReplaceZlibGroup:
Replacements:
- {Find: "font-family: Georgia;", Replace: "font-family:your_serif_name,Georgia;"}
- {Find: "font-family: Avenir;", Replace: "font-family:your_sans_name,Avenir;"}