View Single Post
Old 01-27-2011, 09:30 PM   #13
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Right, I think I know what's happened, those @font-face definition are trying to access the EMBEDED fonts which don't exist, what you need to do is either remove the whole of the following lines (so it will use the fonts already on system)

Quote:
@font-face {
font-family: "Baskerville";
font-style: normal;
font-weight: normal;
src:local(Baskerville);
}
@font-face {
font-family: "Rockwell";
font-style: normal;
font-weight: normal;
src:local(Rockwell);
}
OR to embed the fonts, right click on the Fonts folder in book browser window, and 'Add Existing Items...' , then navigate to your fonts folder and select the Baskerville font, then again for Rockwell font.

As long as the epub will be for your own private use, it should be alright, I'm not sure about copyright on those fonts.

You may need to change the
Quote:
src:local(Baskerville)
change it to
Quote:
src:url(../Fonts/Baskerville.ttf) format(opentype);;
and do the Rockwell definition to read

Quote:
src:url(../Fonts/Rockwell.ttf) format(opentype);;
You should then be good
Perkin is offline   Reply With Quote