View Single Post
Old 01-23-2017, 04:32 PM   #29
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,891
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by EthanYi View Post
<Patch>
patch_name = `Freedom to advanced fonts control`
patch_enable = `yes`
replace_bytes = 892894, 2C F4 52 EE, 3C F4 4C E9
replace_bytes = 982714, 70 F7 E0 E3, 00 46 00 46
replace_bytes = 984166, 6E F7 B8 E6, 00 46 00 46
</Patch>

I have set it to “yes”!
But my kobo aura one font Aa which there is no advanced option。
what reason?I use the ttf fonts!
Here is what I see for the Freedom to advanced fonts control patch for the 4.2.8283 firmware.

Code:
<Patch>
patch_name = `Freedom to advanced fonts control`
patch_enable = `yes`
#
## 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 MIGHT NOT BE 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 = 5E83D8, C3 F6 76 EA, 00 20 00 20
# N3FontTypeUtil.setupMonotypeDropdown(b,c)
# --> N3FontTypeUtil.setupDropdown(UNDEFINED,b,c)
replace_bytes = 6A7940, 50 46 31 46, 51 46 32 46
replace_bytes = 6A7944, FA F5 08 E9, 16 F6 98 EA
# N3FontTypeController.setupAdvancedOption(...) --> NOP
replace_bytes = 74D064, 8A F5 24 EF, 00 46 00 46
replace_bytes = 74D5B8, 8A F5 7A EC, 00 46 00 46
</Patch>
I enabled the patch, ran the batch file, copied the KoboRoot.tgz file into the .kobo folder on my KA1 and safely ejected. The patch installed and restarted my KA1 and I now see Advanced beside the font name box on sideloaded fonts.

I'd suspect that you are not using the right version of the patches for 4.2.8283.

Last edited by DNSB; 01-23-2017 at 04:35 PM.
DNSB is offline   Reply With Quote