View Single Post
Old 07-16-2022, 10:00 AM   #7325
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,987
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by culytera View Post
Ah sorry I was wrong. I was referring to the cover being generated based on the first page, not the CSS being wrong when you view it in a reader. I basically just have "Update Calibre Cover (from EPUB)" enabled and the rest are disabled under FFF's Calibre Cover settings. Normally that should work for my cover needs but the update to Calibre seems to have changed something with how it generates the cover based on the first page of the EPUB.

I can recreate it by selecting "Set the cover for the book from the selected format" when I edit the metadata individually or "Set from e-book files" when editing metadata in bulk.

It seems the CSS is only rendering correctly when I edit the book via Calibre.
I don't think there's nothing FFF can do about this.

I can't find it now, but I remember discussing with kovid (when cal5 came out?) about the ebook reader ignoring background CSS and it was either intended or unavoidable.

This post in another thread about a year ago suggests it's intended and a possible workaround:

Quote:
Originally Posted by kovidgoyal View Post
You cannot control body colors in the calibre viewer. That is entirely in user control. If you really, really, want to force your color choices on your readers, enclose your body content in a div and set the background on that.
JimmXinu is offline   Reply With Quote