View Single Post
Old 03-15-2012, 06:32 PM   #12
ElsieC
Zealot
ElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmosElsieC has become one with the cosmos
 
ElsieC's Avatar
 
Posts: 121
Karma: 21024
Join Date: Feb 2012
Location: Ohio, USA
Device: Sony PRS-505
Quote:
Originally Posted by JSWolf View Post
If you want your ePub to use a specific font but still be able to change it if you want, use serif as the name of the font family.

I am a little confused. Could you please tell me where I would set the font family to serif? Do you mean in the Look and Feel, Extra CSS window during conversion? I used to have the wording in the spoiler button below in that window, but removed it in lieu of using jackie_w's suggested wording for .css files in PRS+ that are in a folder ON my PRS-505.

Spoiler:
@font-face {
font-family: "verdana";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/verdana.ttf);
}

@font-face {
font-family: "verdana";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/verdanab.ttf);
}

@font-face {
font-family: "verdana";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/verdanai.ttf);
}

@font-face {
font-family: "verdana";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/verdanaz.ttf);
}

body, div, p {
font-family: "verdana";
}


Thank you.

ElsieC
ElsieC is offline   Reply With Quote