Quote:
Originally Posted by price
Hi, I want to modify the footer font family, but the code relating to this is missing in patches released recently.
Why this happens? Is it possible to modify the font family in the new-redeased firmwares?
|
I don't know why this option is no longer included. My guess is copy/paste error (rather than a deliberate removal) when the patching system moved to kobopatch
You can always add it back yourself to the end of the 'Custom reading footer style' patch in nickel.yaml. Something like the following, but change the
red bit to your font of choice and be careful with the indentation:
Code:
# Uncomment the replace_string line below to use a fixed replacement caption
# font family, for all devices: You can change Georgia to another font name of
# your choice, but Avenir or Georgia are recommended because other fonts might
# not be loaded when the book is first opened and so might cause problems.
# Unlike other strings it is OK if this replacement string is a bit longer or
# shorter than the original.
#
- ReplaceString:
Offset: 514
Find: "#caption[qApp_localeName=\"ja_JP\"] {font-family:Sans-SerifJP,sans-serif;font-style:normal}\n"
Replace: "#caption {font-family:Georgia;}\n\0"