View Single Post
Old 12-08-2015, 11:46 PM   #6
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I've updated the zip in post #1 to include the `Disable reading footer` and `Custom reading footer style` patches.

I'll post the `Freedom to advanced fonts control` patch here in case anyone wants to test it. There is a problem when changing fonts in the ePub reader with this patch enabled, but it might only occur after the new Kobo Tsukushi Mincho and Kobo UD Kakugo fonts are used. If you avoid using those two fonts then it might be okay, let me know if you try it.

Firmware 3.19.5613, paste into libnickel.so.1.0.0.patch.
Spoiler:
Code:
<Patch>
patch_name = `Freedom to advanced fonts control`
patch_enable = `no`
#
# This patch allows the advanced font options (weight/sharpness adjustments)
# to work with sideloaded fonts too. (KEPUB: OTF and TTF. EPUB: TTF only.)
#
# WARNING: IT IS NOT SAFE TO ENABLE THIS PATCH IF YOUR DEVICE IS SET TO A
# JAPANESE LOCALE OR JAPANESE BOOKS ARE OPENED.
#
# VolumeManager.isJapanese(a) --> False
replace_bytes = 613964, F0 F5 40 ED, 00 20 00 20
# N3FontTypeUtil.setupMonotypeDropdown(b,c)
# --> N3FontTypeUtil.setupDropdown(UNDEFINED,b,c) e2fe44 4129cc
replace_bytes = 79583E, 58 46 51 46, 59 46 52 46
replace_bytes = 795842, 66 F4 A8 EF, 7D F4 C4 E8
# N3FontTypeController.setupAdvancedOption --> NOP
replace_bytes = 8C58C4, 61 F7 76 E0, 00 46 00 46
replace_bytes = 8C6C72, 5F F7 A0 E6, 00 46 00 46
</Patch>

Last edited by GeoffR; 12-08-2015 at 11:51 PM. Reason: If you avoid using those two fonts ...
GeoffR is offline   Reply With Quote