View Single Post
Old 11-29-2017, 12:31 PM   #24
MizSuz
Connoisseur
MizSuz began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
Quote:
Originally Posted by kovidgoyal View Post
That rule will work only if the book in question does not specify its own fonts. If you want to override book fonts you need something like

Code:
* {
font-family: serif !important;
}
Once again I must insist that, Kovid, you are a God.

Honestly, this fixed all my heartache with the browser reader. Thanks so much.

ETA: Using Calibre 3.12 with Android Galaxy Note 3 on Chrome for Android browser. I haven't tried the browser viewer with the samsung browser since it recently update as the earlier version didn't work, but now that I've thought of it I guess I'll have a look.

But the bit of code you posted put into the css stylesheet spot under preferences in the browser viewer put me back on serif fonts, which has negated my need to use another piece of software. Total. Win.

UPDATE: Calibre's Browser Viewer now seems to work with the updated Samsung Browser. I feel like Kovid has given me the majority of my holiday gifts.

Last edited by MizSuz; 11-29-2017 at 12:44 PM.
MizSuz is offline   Reply With Quote