Thanks all for replies! I will persevere and try again taking your suggestions into account.
Dminoz, its not just one book or one font... tried several. I think something is not right with the coding when i copy it from the template and replace the font names.
This is the template i use (where Arial is replaced by the required font name):
@font-face {
font-family: "Arial";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/arial.ttf);
}
@font-face {
font-family: "Arial";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/arialbd.ttf);
}
@font-face {
font-family: "Arial";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/ariali.ttf);
}
@font-face {
font-family: "Arial";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/arialbi.ttf);
}
body {
font-family: "Arial";
}
Downloaded fonts obvioulsy go into 'fonts' folder in my reader. Tried both .ttf and .otf fonts.
Does that look right to your guys?
|