Thread: Kobo Patcher
View Single Post
Old 12-05-2013, 01:17 AM   #546
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
Quote:
Originally Posted by jackie_w View Post
Would either of you be able to figure out the 3.1.0 settings for the patch `Freedom to advanced fonts control`? I think there's a few of us font fanatics who like to have 'TypeGenius' for all fonts.
Well I had another look and I realised that I didn't need to work out where the subroutine that the patch redirects finally ends up, I just needed to find another place in the code that calls the same subroutine and copy its call address.

So here is the advanced fonts control patch for 3.1.0 (d1b2f00933), I haven't tested it because the only fonts I have sideloaded are the ones from old firmware versions which already work with the advanced controls, so if you try it, post to confirm whether it works.

Spoiler:
Code:
# Firmware 3.1.0 (d1b2f00933)
<Patch>
patch_name = `Freedom to advanced fonts control`
patch_enable = `yes`
replace_bytes = 98372C, D4 F7 64 E1, E4 F7 54 E5
replace_bytes = ADC554, B3 F6 DC E1, 00 46 00 46
replace_bytes = AE0256, AF F6 5C E3, 00 46 00 46
</Patch>
GeoffR is offline   Reply With Quote