View Single Post
Old 04-12-2015, 08:01 AM   #34
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 dmapr View Post
@jackie_w, thanks — tons of good info here. Yes, standard epub (not a kepub) and yes, the style is set on the p tag via a monospace class. I am using the patcher so I can look into enabling that option, assuming it's available for the version of firmware I use (3.1.1).
Wow, that's old, fw 3.1.1 must have something you really want to keep

The Patcher for fw 3.1.1 didn't include the 'Un-force font-family override...' option as standard but you're in luck because I created one for myself and (hoarder that I am) I still have it. If you add the following to your kpg.conf file it should work
Code:
<Patch>
patch_name = `jackie_w Font family override (all devices)`
patch_enable = `yes`
replace_bytes = 1117F74, 2C 20 70, 20 20 20
</Patch>
N.B. As with all patches, this code is specific to fw 3.1.1

I've also attached a 1-page test epub you can use to test what's going on.

If your kobo_extra.css is working correctly:
  • Before applying patch: The heading and paragraphs 3,4 should be displayed in your chosen monospace font (as specified in kobo_extra.css). Paragraph 1 would be in Amasis (if that's what you chose from the Font menu). Paragraph 2, I think should also be Amasis, or possibly Georgia (???) if the Kobo is confused and doesn't know what to use.
  • After applying patch: The heading and paragraphs 2, 3, 4 should be displayed in monospace. Paragraph 1 would still be Amasis.

If this is not what you're seeing then feel free to report back with your findings. As luck would have it my husband is using an old Glo, running fw3.1.1. It's not that he's attached to it but he's definitely from the school of 'if it ain't broke, don't fix it'. I applied the patch to the Glo when fw3.1.1 was current and the attached epub behaves as expected for me.
Attached Files
File Type: epub Kobo_Monospace.epub (2.6 KB, 189 views)

Last edited by jackie_w; 04-12-2015 at 08:08 AM.
jackie_w is offline   Reply With Quote