Quote:
Originally Posted by Analogus
I love Caecilia as default-reading-font. Sometimes my custom CSS-files dont work with specific EPUBS (which don't have embedded fonts). Of course I could change the internal CSS-file of the book. But wouldn't it be elegant when my own default font would be used instead of this (hidden?) font?
|
When you have a misbehaving epub, look in the epub css and find out why it's not working. Once you know what the problem is you can sometimes add extra code to your Caecilia custom css which will avoid the problem in future.
For example, if a lot of your epubs have been converted from an MSWord-created RTF or an old LIT (which are also often sourced from MSWord) then it is quite possible that your epub is full of statements like
font-family: "Times New Roman". Unless you take evasive action in your custom css all this text will display as Sony default.
I don't know what you currently have but something like
Code:
@font-face { font-family: "Times New Roman", "Caecilia", serif; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/Caecilia_LT_67_Cond_Medium.ttf);}
...and similar for the other 3 @font-faces
may handle a few extra epubs without needing to edit the epub css.
If the problem is an epub which already contains a set of fully-embedded fonts (e.g. Charis in many DRM'd epubs) then the Calibre 'Modify Epub' plugin has an option to remove them for you.