|
|
#1 |
|
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,314
Karma: 3020298
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Dell Axim, PRS350/650, Nook Glow
|
Calibre ... or bad HTML?
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! |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,481
Karma: 2944574
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 |
|
|
|
|
Enthusiast
|
|
![]() |
| Tags |
| calibre |
| Thread Tools | Search this Thread |
|
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 |