Quote:
Originally Posted by MSJim
I need help. My reader displays all my converted ePub books in what looks like Times New Roman. I’d like them to be in Georgia font.
|
What you did does not work well with calibre since Calibre ignores font-family settings with same name and uses just the first one when being placed in extra_css. What does work is following (I will use Liberation fonts since they are free):
1. Convert your text into well formed HTML
2. Place Liberation Serif fonts into same folder where HTML resides
3. Add this to the HTML after the title tag :
Code:
<style type="text/css">
@font-face { font-family: "Liberation Serif"; font-style: normal; font-weight: normal; src: url(LiberationSerif-Regular.ttf) }
@font-face { font-family: "Liberation Serif"; font-style: normal; font-weight: bold; src: url(LiberationSerif-Bold.ttf) }
@font-face { font-family: "Liberation Serif"; font-style: italic; font-weight: normal; src: url(LiberationSerif-Italic.ttf) }
@font-face { font-family: "Liberation Serif"; font-style: italic; font-weight: bold; src: url(LiberationSerif-BoldItalic.ttf) }
body {font-family: "Liberation Serif",serif}
</style>
4. Import this HTML as new book into calibre and configure metadata.
5. Convert to EPUB and you will end up with e-book with embedded fonts.
Here is an example of e-book I generated using this procedure - Alice in wonderland