Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 10:59 PM   #1
stasiana
Member
stasiana began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Nov 2023
Device: Kobo Elipsa 2E
Why does Calibre Viewer mangle graphics background colors depending on theme?

I have a sample epub which SVG images containing math. Sometimes they display correctly, and sometimes their background colors are mangled. It depends on the theme I choose in the viewer.

For example:

Click image for larger version

Name:	Screenshot_20261003_195648.png
Views:	3
Size:	29.3 KB
ID:	226410

Click image for larger version

Name:	Screenshot_20261003_195634.png
Views:	4
Size:	28.2 KB
ID:	226409

It seems to depend on what the theme background is. What is this behaviour?

The test file: test.epub
stasiana is offline   Reply With Quote
Old Today, 01:50 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,523
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It doesnt mangle anything. A theme sets background colors, depending on what CSS is in your book, it can have background colors that conflict, override or are overridden by the theme background. You can use the override all colors in book setting for consistency, which will override every color defined in the books own CSS
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Background color in Calibre 4 viewer jbacelar Calibre 10 10-07-2019 09:21 PM
Calibre PDF Output: Adding Background Rgb colors customization options and Font Color Lodan PDF 7 02-17-2019 09:09 AM
Problem with font & background colors on the Ebook Viewer darthktulu Calibre 3 10-27-2013 11:24 PM
Suggestion on choosing theme colors slayda Marvin 22 09-17-2013 12:27 PM
How to edit skin/theme colors? monkbythesea Calibre 7 08-02-2010 02:18 PM


All times are GMT -4. The time now is 01:57 AM.


MobileRead.com is a privately owned, operated and funded community.