Simplified way of adding a font to show on the Kobo wifi. All of this can be done in Sigil and more easily than unzipping the epub, making changes and
hope they work and then rezipping it.
It's a good idea to save after each step you complete because Sigil does crash every once in awhile.
1) Open epub book in Sigil (install Sigil, if you don't already have it, it will simplify this for you)
2) RIGHT mouse click on Fonts folder in right hand column, Select "Add Existing Files..."
3) Find your font, in this case: DroidSansFallback.ttf, select it, click OPEN.
3b) SAVE...
4) Edit stylesheet.css, my styles are:
p {
font-family: "Droid Sans Fallback";
font-size: 1.00em;
text-align: justify;
}
@font-face {
font-family: "Droid Sans Fallback";
font-weight: normal;
font-style: normal;
src: url(../Fonts/DroidSansFallback.ttf);
}
4b) SAVE
5) Edit Metadata. Go EDIT --> Metadata Editor... change any metadata not in latin to latin characters.
5b) SAVE
6) Check & Edit content.opf to change any metadata still not in latin to latin characters.
6b) SAVE
NOTE: Sigil does NOT reflect embedded fonts in book view or at least not consistantly. So if you check out your work in BV and it doesn't appear to be working, don't dispair, load the book on your Kobo to check it instead. Once your fonts are showing correctly you can then make any more changes to the CSS as needed.
Also make sure there are no over riding classes. ex. <p class="something">
|