Thread: PRS-650 A nice font for the 650
View Single Post
Old 10-12-2010, 12:58 AM   #12
SmartyPants
Zealot
SmartyPants began at the beginning.
 
SmartyPants's Avatar
 
Posts: 119
Karma: 46
Join Date: Jan 2010
Device: Kindle PW
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?
SmartyPants is offline   Reply With Quote