Quote:
They both worked! The first one's title doesn't display properly in the book list but the second one with metadata in latin characters displays fine. Could you please show me how did you do it? Thanks!!
|
Ok. Some steps:
1.Try simply renaming the epub you download from the site (embedded fonts version) to latin characters and see if this works.
2. If 1 does not work there is something wrong with the css or font the site uses. Do the following:
- Download the epub with no fonts embedded version.
- Rename the .epub to .zip.
- Open it in winzip or winrar.
- Open the file stylesheet.css in notepad and replace its content with:
Code:
@font-face{font-family:"Droid Sans Fallback";font-style:normal;font-weight:normal;src:url(DroidSansFallback.ttf)}
body{margin-left:5%;margin-right:5%;margin-top:5%;margin-bottom:5%;font-family:"Droid Sans Fallback"}
p{text-indent:0.25in;margin-left:0;line-height:150%;margin-right:0;text-align:justify;margin-top:0;margin-bottom:0;font-family:"Droid Sans Fallback";font-size:100%}
.t1{font-size:1em}
- Get the file DroidSansFallback.ttf (It is inside the epubs I uploded) and add it to the zip archive of the epub you are fixing.
- If you want the metadata in latin characters open the file content.opf and change the title and creator tags(in bold below) to something legible as in:
Code:
<dc:title>BengKui</dc:title>
<dc:creator>Li Ximin</dc:creator>
- Rename again the .zip to .epub
It sounds complicated but there are only two key files in the epub the stylesheet.css pointing to a font and the font itself. Visit the epub forum for more info on embedding fonts.