View Single Post
Old 07-26-2011, 12:24 PM   #1
melkorbauglir
Connoisseur
melkorbauglir began at the beginning.
 
melkorbauglir's Avatar
 
Posts: 55
Karma: 10
Join Date: Jul 2011
Location: Lahti,Finland
Device: Sony PRS-650,LG G7 ThinQ,Samsung S5 Active,Pocketbook InkPad 3
Am i doing it right?PRS+ and CSS forced Epub fonts via Calibre

Tryed to use other font for PRS-650 with PRS+ firmware.Added fonts into root/fonts,all 4 of otf.Using this css in Calibre:

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

@font-face {
font-family: "LexiaDaMa";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/LexiaDaMa-Bold.otf);
}

@font-face {
font-family: "LexiaDaMa";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/LexiaDaMa-Italic.otf);
}

@font-face {
font-family: "LexiaDaMa";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/LexiaDaMa-BoldItalic.otf);
}

body {
font-family: "LexiaDaMa", serif;
}

Is LexiaDaMa family serif?Do i need serif in end?Whats the difference?
melkorbauglir is offline   Reply With Quote