Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2008, 06:49 PM   #1
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 3,044
Karma: 8946055
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Dell Axim, PRS350/650, Nook Glow, PB Touch Lux 623
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!
Attached Files
File Type: rtf Test of imbedded Verdana font.rtf (21.9 KB, 267 views)
File Type: zip Test of embedded Verdana font.zip (3.5 KB, 210 views)
File Type: lrf Test of embedded Verdana font - FizzyWater.lrf (395.6 KB, 207 views)
FizzyWater is offline   Reply With Quote
Old 07-20-2008, 07:57 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: 26,338
Karma: 5382313
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
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 10:48 PM
Calibre won't open after install -- ERROR: Bad database location htbyron Calibre 3 06-17-2010 11:43 AM
Reading HTML ebooks from Calibre Clytie Calibre 3 05-04-2010 11:44 AM
Calibre HTML Metadaten disem1 Software 0 05-02-2010 01:57 PM
Anyone use Calibre to produce ebooks from HTML? AlexBell Workshop 10 07-03-2009 08:15 AM


All times are GMT -4. The time now is 12:15 PM.


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