I need help please with changing the fonts. I have several different fonts but when I switch among them using "User EPUB Style" in Book Viewer Settings, nothing changes. The fonts stay the same. So, I'm guessing my css files are not quite correct, probably the path. Below is an example for the Garamond font. Can anybody tell me if it is correct please?
Quote:
@font-face {
font-family: adobegaramondpro;
font-weight: normal;
font-style: normal;
src: url(res:///database/system/PRSPlus/epub/FONT/Garamond/AGaramondPro-Regular.otf);
}
@font-face {
font-family: adobegaramondpro;
font-weight: bold;
font-style: normal;
src: url(res:///database/system/PRSPlus/epub/FONT/Garamond/AGaramondPro-Bold.otf);
}
@font-face {
font-family: adobegaramondpro;
font-weight: normal;
font-style: italic;
src: url(res:///database/system/PRSPlus/epub/FONT/Garamond/AGaramondPro-Italic.otf);
}
@font-face {
font-family: adobegaramondpro;
font-weight: bold;
font-style: italic;
src: url(res:///database/system/PRSPlus/epub/FONT/Garamond/AGaramondPro-BoldItalic.otf);
}
@font-face {
font-family: "sans-serif1";
src:url(/opt/sony/ebook/FONT/tt0003m_.ttf);
}
h1 {
font-family: sans-serif1, sans-serif;
}
body {
font-family: adobegaramondpro; line-height: 1.2em
}
|
I've also tried replacing the "res:///database" with just "/database". Still no luck when change css files.