MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Conversion (https://www.mobileread.com/forums/forumdisplay.php?f=235)
-   -   black background, black test (https://www.mobileread.com/forums/showthread.php?t=319843)

shar88 05-06-2019 12:40 PM

black background, black test
 
1 Attachment(s)
I converted this epub to azw3 for my kindle paperwhite2. In calibre its a gray background with white/black text.

On my kindle, the gray background is black and all the black text is not visible.

How can I fix this? Thanks.

kovidgoyal 05-06-2019 12:50 PM

Use the option in the look & feel section of the conversion dialog to remove colors.

shar88 05-06-2019 01:57 PM

4 Attachment(s)
Quote:

Originally Posted by kovidgoyal (Post 3842214)
Use the option in the look & feel section of the conversion dialog to remove colors.

I assume you mean this.

It does in fact change the output but not in a desirable way.

Kind of makes the previous page fade, and then the next page is still black on black.

Brett Merkey 05-06-2019 03:33 PM

Quote:

On my kindle, the gray background is black and all the black text is not visible.
Did you try a lighter shade of gray for background to see if it came out better? The Kindle only displays 16-level grayscale. At one end of the scale of choices, Kindle will turn everything black. Try backing off on the background. It looks fine in Calibre because your computer screen can show far more levels of gray.

shar88 05-06-2019 03:49 PM

Quote:

Originally Posted by Brett Merkey (Post 3842286)
Did you try a lighter shade of gray for background to see if it came out better? The Kindle only displays 16-level grayscale. At one end of the scale of choices, Kindle will turn everything black. Try backing off on the background. It looks fine in Calibre because your computer screen can show far more levels of gray.

I attempted too, but not sure how to do it properly. I think the color the kindle is having problems with is #87888a. I was able to change the color the e-book viewer using the inspect book code tool. But haven't figured out how to export that change to the azw3 when converting.

shar88 05-06-2019 04:22 PM

I'm almost convinced its a problem with kindle or the ebook. The page is an xhtml with a css page. I used the book edit feature to edit the css to change the background color, and on the first page of that xhtml, the color changes. However moving to the next page of the same xhtml file results on the black on black again.

shar88 05-06-2019 04:30 PM

1 Attachment(s)
which also means the colors are fine because the first page of that xhtml always displayed correctly. The page has five elements, only one of which is too long to fit on a page and when moving to the next page, its like the absence of the elements causes it to display the black on black.

stumped 05-06-2019 04:33 PM

Remove all references to colours in all of the css, and let the device show black text on white, or the inverse.

shar88 05-06-2019 10:02 PM

I don't really understand css/xhtml but I removed a line

-webkit-box-shadow: inset 0 0 20px #000;

from the element for the table in question in the css which fixed the problem.

:thanks: everyone for helping.


All times are GMT -4. The time now is 10:40 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.