07-20-2008, 05:49 PM | #1 |
You kids get off my lawn!
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
Calibre ... or bad HTML?
Up until recently, I've just made RTF files for my Sony Reader. But I really like to have the book covers (and any other images that might be in the file) displayed. So I finally started playing with Calibre.
I've been able to create LRFs with embedded Georgia font, from HTML code created by Mobipocket Creator - from my RTFs! Looks very nice. Reads very nice. But I find I still prefer a san-serif font when reading "screen" rather than "paper". When I use the same method to embed Verdana, my Sony displays the Verdana bold and italic (and bold-italic) just fine, but displays the regular text as a serif-font (probably Times New Roman). When I look at the same LRF in the Calibre viewer, it displays ALL Verdana - plain text or bold, but no italics. I've attached the sample files below. By the way, I misspelled embed in the attachments and am not anal enough to go back and fix it there. Sorry! |
07-20-2008, 06:57 PM | #2 |
creator of calibre
Posts: 44,397
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The whole situation with embedded fonts in LRF is a bit of a mess at the moment and I dont have the time to sort it out. You can get sans serif fonts without embedding by using the --override-css option. Something like
--override-css "p { font-family: sans}" should do the trick |
Advert | |
|
Tags |
calibre |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Recipe HTML content differs from raw html of index.html. | krunk | Calibre | 4 | 09-20-2010 09:48 PM |
Calibre won't open after install -- ERROR: Bad database location | htbyron | Calibre | 3 | 06-17-2010 10:43 AM |
Reading HTML ebooks from Calibre | Clytie | Calibre | 3 | 05-04-2010 10:44 AM |
Calibre HTML Metadaten | disem1 | Software | 0 | 05-02-2010 12:57 PM |
Anyone use Calibre to produce ebooks from HTML? | AlexBell | Workshop | 10 | 07-03-2009 07:15 AM |