View Single Post
Old 08-12-2015, 02:12 PM   #75
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,266
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@GeoffR,

Re: Default ePub monospace font

I've only just spotted this new patch for librmsdk.so.1.0.0.patch, so I just wanted to say

In addition I was able to extrapolate to give myself a different default sans-serif font for standard ePubs. Personally I've always found the default Avenir a bit too chunky and I prefer my sideloaded Trebuchet for sans-serif. For anyone else who may be interested I include the extra patch I used below. Although it's early days it seems to work equally well on:
- GloHD with fw 3.16.0
- AuraH2O with fw 3.15.0

Spoiler:
Code:
<Patch>
patch_name = `Default ePub sans-serif font`
patch_enable = `yes`
# Multi-version patch: 3.3.0 - 3.16.0+
#
find_base_address = `/normal/Avenir`
replace_string = 0000, `/normal/Avenir`, `/normal/Trebuc`
find_base_address = `/bold/Avenir`
replace_string = 0000, `/bold/Avenir`, `/bold/Trebuc`
find_base_address = `/italic/Avenir`
replace_string = 0000, `/italic/Avenir`, `/italic/Trebuc`
find_base_address = `/bolditalic/Avenir`
replace_string = 0000, `/bolditalic/Avenir`, `/bolditalic/Trebuc`
</Patch>
jackie_w is offline   Reply With Quote