Thread: PRS-650 CharisSIL embedding
View Single Post
Old 10-09-2010, 07:56 PM   #2
Jonimeesermann
Connoisseur
Jonimeesermann began at the beginning.
 
Posts: 82
Karma: 12
Join Date: Apr 2010
Device: Nokia e71, Ipod Touch, Sony PRS 300
This is my css for epub font hack in Sony (and it's working)
Code:
@font-face { font-family: "Charis"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/CharisSILR.ttf);}

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

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

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

body { font-family: "Charis", serif; line-height: 1.25em; }
I think you miss Data directory before fonts, and fonts directory should be lower case
Jonimeesermann is offline   Reply With Quote