View Single Post
Old 02-09-2017, 04:28 PM   #21
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Will the following patch (Un-force font-family override p tags (std epubs)) from 4.2.8110 work in 4.2.8432?

Code:
<Patch>
patch_name = `Un-force font-family override p tags (std epubs)`
patch_enable = `yes`
# Multi-version patch: 3.3.0 - 4.2.8110+
#
## This patch allows the font set for paragraphs by the publisher in the epub
## stylesheet to override the font selected by the reader from the device.
#
#     body, p { font-family: -ua-default !important; }
# --> body    { font-family: -ua-default !important; }
#
find_base_address = `b\0o\0d\0y\0,\0 \0p\0 \0{\0 \0f\0o\0n\0t\0-\0f\0a\0m\0i\0l\0y\0:\0 \0-\0u\0a\0`
replace_string = 0000, `b\0o\0d\0y\0,\0 \0p\0`,`b\0o\0d\0y\0 \0 \0 \0`
</Patch>
Yes it will. For future reference patches that use the 'find_base_address' method are what GeoffR calls 'Multi-version patches', i.e. they usually work unchanged from one fw to the next. If any of these didn't work in a new fw I think GeoffR would make special note of it.
jackie_w is offline   Reply With Quote