Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-12-2011, 01:34 PM   #1
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Fonts

After converting to a mobi file my fonts came out green. How can I change the font color.
They are green when using the Calibre Viewer.
Attached Thumbnails
Click image for larger version

Name:	Snap_2011.01.12_13h33m20s_001.png
Views:	196
Size:	47.8 KB
ID:	64629  
fredb38 is offline   Reply With Quote
Old 01-12-2011, 03:10 PM   #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: 45,350
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
that means they were green in the input document, which means you need to edit the input document to change their color there.
kovidgoyal is online now   Reply With Quote
Advert
Old 01-12-2011, 04:02 PM   #3
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Fonts

The file is an HTML but not really sure how to change or edit the background or the fonts.
fredb38 is offline   Reply With Quote
Old 01-12-2011, 04:26 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by fredb38 View Post
The file is an HTML but not really sure how to change or edit the background or the fonts.
the default foreground is black,
so removing (o r/* commenting-out */ ) , or specifying black, the color statement in a style should get the green out.

background-color also has a default, so the same rules apply
theducks is offline   Reply With Quote
Old 01-12-2011, 05:22 PM   #5
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Fonts

Background is dark blue
Font is light blue
What program is used to edit the background and the fonts
If I double click on the file it opens in my Firefox Browser.
Can I fix it using firefox?
fredb38 is offline   Reply With Quote
Advert
Old 01-12-2011, 06:05 PM   #6
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
You need to open the HTML file in a simple text editor.
jackie_w is offline   Reply With Quote
Old 01-12-2011, 07:33 PM   #7
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Font

Opening it was the easy part. Figuring out where to go from their was the hard part. Never edited an HTML file so that was the problem.
fredb38 is offline   Reply With Quote
Old 01-12-2011, 07:48 PM   #8
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Do you see anything that looks something like
Code:
color:#nnnnnn; or 
color:rgb(x,y,z); or 
color:blue; or
background-color:#nnnnnn; or 
background-color:rgb(x,y,z); or 
background-color:blue;
jackie_w is offline   Reply With Quote
Old 01-12-2011, 08:43 PM   #9
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Fonts

This is what I see that looks something like you showed

style="color: rgb(153, 255, 255); background-color: rgb(0, 0, 153);">

style="color: rgb(204, 255, 255);"><big>A Kiss After Midnight - Tanya

<a href="#Scandals_Bride"><span style="color: rgb(204, 255, 255);"><big>Scandal's

I found three that had something to do with color and or background color
fredb38 is offline   Reply With Quote
Old 01-12-2011, 09:12 PM   #10
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
OK, I think the easiest changes for you would be, in the editor, change every instance of
Code:
background-color: rgb(0, 0, 153);
to
Code:
background-color: white;
and every instance of
Code:
color: rgb(153, 255, 255); or 
color: rgb(204, 255, 255);
to
Code:
color: black;
Then save the HTML file. If you double-click on it, it should open in your browser showing black text on a white background throughout.

Once you're happy, reimport the HTML file into calibre and do your conversion again. The bright colours should be gone.
jackie_w is offline   Reply With Quote
Old 01-12-2011, 09:46 PM   #11
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Fonts

Thank you very much. It worked perfect.
Thanks for the time and the lesson.
fredb38 is offline   Reply With Quote
Old 01-12-2011, 09:51 PM   #12
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Great. You're now an experienced HTML/CSS editor
jackie_w is offline   Reply With Quote
Old 01-12-2011, 09:58 PM   #13
fredb38
Junior Member
fredb38 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2011
Device: Kindle
Font

As long as all I have to do is change the font color!!!
Thanks again
fredb38 is offline   Reply With Quote
Old 01-12-2011, 10:50 PM   #14
atjnjk
Zealot
atjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enoughatjnjk will become famous soon enough
 
Posts: 107
Karma: 554
Join Date: Oct 2008
Device: none
IMHO, for ebooks, it's best to remove all background and text color for main/paragraph text.
atjnjk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded fonts, Calibre, and choice of fonts AlexBell ePub 8 05-30-2010 06:00 AM
Large fonts / bold fonts for Kindle DX International tandyjames Amazon Kindle 5 03-23-2010 06:53 AM
FONTS HawaiianLungs Calibre 4 09-13-2009 10:10 PM
Only three fonts? :P KorrMuraan Sony Reader 16 04-21-2008 05:41 AM
Fonts Aprilbeginnings Sony Reader 29 12-13-2006 11:03 PM


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


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