html to epub conversion with extra CSS
Hi, I just updated calibre after almost year of not doing so (used to be 7. something). I've been using calibre to convert my Korean html books into epub for Nook Color since it cannot read normal Korean epub books.
I've been using a code for "extra CSS section" (provided below) as provided by someone else (since I have no clue what I'm doing) and it worked fine so far. But when I updated my Calibre, every time I "add books" it converts them into ZIP files and even if I use the code to convert, I get "?"s instead of letters. Any help is appreciated. Thank you.
When converting the book, under "Look & Feel" tab, select "UTF-8" under "Input Character Encoding".
Then, on the same tab, in Extra CSS box, copy and paste the following code:
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: normal;
font-style: normal;
src: url('res:///system/fonts/DroidSansFallback.ttf');
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: bold;
font-style: normal;
src: url('res:///system/fonts/DroidSansFallback.ttf');
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: normal;
font-style: italic;
src: url('res:///system/fonts/DroidSansFallback.ttf');
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: bold;
font-style: italic;
src: url('res:///system/fonts/DroidSansFallback.ttf');
}
body {
margin-right: 8pt;
font-family: 'DroidFont', serif;
}
|