View Single Post
Old 04-16-2010, 05:33 PM   #4
troymc
Groupie
troymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enough
 
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
I don't know of any way to have Calibre do it automatically. You would need to use an app like Sigil to edit the epub & embed it.

(edit: hmmm....maybe it could be done in the recipe?)

That might be a simple feature request for Calibre's epub output, though.
A) point to local font in epub output config page
B) then when epubs are created Calibre would:
  1. copy font file to /OEBPS/Fonts
  2. add font file to manifest in content.opf
  3. add @font-face declaration to css
  4. add body tag w/font family declaration to css


Troy
troymc is offline   Reply With Quote