View Single Post
Old 12-09-2011, 12:28 PM   #67
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by log View Post
Jackie, do you know calibre supports a feature that can modify epub CSS when sending to a particular device?

If so it would be nice if we can setup calibre to setup an "alternate" default font for example, always use Amasis with proper italics/bold instead of always changing the font and making sure the bold/italics work in reader UI.
As part of the send-to-device? Not that I know of. The only 2 ways I know of using Calibre are:
  1. Put the @font-faces in the ExtraCSS box and do a conversion to epub (even if it's already an epub)
  2. Use Tweak epub to explode the epub and copy in the @font-faces manually.
I'm currently using the second option because, as I mentioned before, the first option copies the @font-faces into every html file. This isn't a problem until you want to remove them again, when it becomes a bit of a pain-in-the-proverbial. Also I'd rather not convert epub-to-epub unless I really have to.
jackie_w is offline   Reply With Quote