|
|
#1 |
|
Junior Member
![]() 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. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,627
Karma: 28549046
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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() 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.
|
|
|
|
|
|
#4 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,279
Karma: 62000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
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 |
|
|
|
|
|
|
#5 |
|
Junior Member
![]() 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? |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
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.
|
|
|
|
|
|
#7 |
|
Junior Member
![]() 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.
|
|
|
|
|
|
#8 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
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; |
|
|
|
|
|
#9 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#10 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
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); Code:
background-color: white; Code:
color: rgb(153, 255, 255); or color: rgb(204, 255, 255); Code:
color: black; Once you're happy, reimport the HTML file into calibre and do your conversion again. The bright colours should be gone. |
|
|
|
|
|
#11 |
|
Junior Member
![]() 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.
|
|
|
|
|
|
#12 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,270
Karma: 16544702
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Great. You're now an experienced HTML/CSS editor
|
|
|
|
|
|
#13 |
|
Junior Member
![]() 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
|
|
|
|
|
|
#14 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 07:00 AM |
| Large fonts / bold fonts for Kindle DX International | tandyjames | Amazon Kindle | 5 | 03-23-2010 07:53 AM |
| FONTS | HawaiianLungs | Calibre | 4 | 09-13-2009 11:10 PM |
| Only three fonts? :P | KorrMuraan | Sony Reader | 16 | 04-21-2008 06:41 AM |
| Fonts | Aprilbeginnings | Sony Reader | 29 | 12-14-2006 12:03 AM |