Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2011, 03:18 AM   #1
AxAx
Member
AxAx began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jan 2011
Device: kindle last gen
Bad text color,

I have this bunch of mobi files, created from chm files using calibre for linux. Their texts(not headlines) don't look really black, I think they are colored and kindle represents that color with a greyish black. Is there anyway I can fix this? I cannot seem to find a contrast option
AxAx is offline   Reply With Quote
Old 02-14-2011, 03:34 AM   #2
Tiersten
Guru
Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.
 
Posts: 987
Karma: 8641
Join Date: Aug 2010
Device: Kindle 3G+WiFi
You'd probably have to edit the source for that as the Kindle is just displaying what it is being told to. I don't know of any setting anywhere which will let you individually alter portions of a book or the default display settings.

Can you convert the CHMs to something else that you can edit first?
Tiersten is offline   Reply With Quote
Advert
Old 02-14-2011, 09:03 PM   #3
mrsquash
Connoisseur
mrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enough
 
Posts: 78
Karma: 648
Join Date: Jul 2009
Location: USA
Device: K4-NT, Sony T1
I ran into a file like that several months ago. I used calibre to convert the mobi to epub, looked at the stylesheet.css file, and found that one (or more) of the styles had a line that ended in ":blue". I think there was something about "text" earlier in the line but it's been a while. I deleted all such lines from the css and converted back to mobi and the problem was fixed; all the "blue" text, which had been grey on the kindle, was then dark.

edit: It occurred to me that this would be a lot easier now with calibre's "inspect" feature for epubs. If you're not familiar with it, you just open the epub in calibre's viewer, put your cursor on one of the grey areas, right-click and choose inspect. A window on the right will show you the applicable style for that section and what its parameters are. Should eliminate the guess-work like I had to do back in the old days.

Last edited by mrsquash; 02-14-2011 at 09:14 PM.
mrsquash is offline   Reply With Quote
Old 05-08-2011, 12:06 AM   #4
kakkalla
Zealot
kakkalla doesn't litterkakkalla doesn't litter
 
kakkalla's Avatar
 
Posts: 146
Karma: 194
Join Date: Jun 2010
Location: Melbourne
Device: iPad
Thanks so much mrsquash for explaining how to use the 'inspect' feature. It had me stumped.

Just one question. When I right-click and then select Inspect in the viewer, the Web browser window opens but is is quite small. I have to drag the window out to enlarge it. This happens every time. Is there any way to ensure that the 'web inspector' panel always opens up to the previous size?

Thanks again.
kakkalla is offline   Reply With Quote
Old 05-08-2011, 05:18 PM   #5
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,549
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Quote:
Originally Posted by kakkalla View Post
Thanks so much mrsquash for explaining how to use the 'inspect' feature. It had me stumped.

Just one question. When I right-click and then select Inspect in the viewer, the Web browser window opens but is is quite small. I have to drag the window out to enlarge it. This happens every time. Is there any way to ensure that the 'web inspector' panel always opens up to the previous size?

Thanks again.
Trying quitting the program; maybe it saves window sizes on exit.

Btw, calibre has a "tweak ePub" command (shortcut t) It unzips the file and opens the folder. Then you can edit stylesheet.CSS. In this case, just search for all lines with color: and change it to black or just delete the line. Then go back to calibre and use the rebuild ePub command.
Barty is offline   Reply With Quote
Advert
Old 05-08-2011, 10:54 PM   #6
mrsquash
Connoisseur
mrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enoughmrsquash will become famous soon enough
 
Posts: 78
Karma: 648
Join Date: Jul 2009
Location: USA
Device: K4-NT, Sony T1
Quote:
Originally Posted by kakkalla View Post
Is there any way to ensure that the 'web inspector' panel always opens up to the previous size?
I don't know of a way; I always just grab a corner and drag.

And I'll second Barty's recommendation of calibre's "tweak epub" feature. That's my usual workflow for making formatting fixes: inspect, tweak epub, and rebuild, then convert to mobi if needed.
mrsquash is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error text overwrites page text? troymc Sigil 6 07-07-2010 09:07 PM
Any epub reader for PC allows me to change text and background color? ttluisa General Discussions 5 05-11-2010 11:04 PM
Word to Plucker Conversion- Losing Text Color Romuleus Reading and Management 0 11-28-2008 03:28 PM
Text tool for formatting Gutenberg text files bob_ninja Workshop 5 11-13-2007 12:28 PM
Good text to java midlet, to read text in phones sucahyo Workshop 1 02-18-2005 12:56 PM


All times are GMT -4. The time now is 09:47 PM.


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