Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2010, 07:48 PM   #1
Richelieu
Junior Member
Richelieu began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: Sony PRS-650
CharisSIL embedding

Hi,
I have a little problem.

When I embed the CharisSIL font directly in the EPUB, it works perfectly, but when I put it in the font folder on the device(where all my other fonts are, and they are working) it's doesn't.

The referencing and all is correct. I even took older files of the font I found on the internet to check, but it's no difference.

Has somebody get the font working, without embedding it directly in the EPUB?


For illustration:

PHP Code:
 .font0 {font-familyCharis;}

@
font-face {
font-family"Charis";
font-stylenormal;
font-weightnormal;
src:url(res:///Fonts/CharisSILR.ttf);

And the file-name ist exactly CharisSILR.ttf.


Maybe someone knows what's wrong...

... thanks
Richelieu is offline   Reply With Quote
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
Old 10-09-2010, 08:07 PM   #3
Richelieu
Junior Member
Richelieu began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2010
Device: Sony PRS-650
It's kind of weird because I have a lot of other fonts on the reader and with them it's working the way I set it up in the first place.

Anyway, now it's working even with Charis so thank you.
Richelieu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding .symbol font? Kivgaen Sigil 23 06-24-2010 09:13 PM
Embedding fonts JaneFancher Calibre 14 04-10-2010 09:28 PM
Embedding fonts AprilHare ePub 6 01-02-2010 11:42 AM
Embedding Tags PieOPah Calibre 4 08-21-2009 06:54 PM
Embedding fonts jash Calibre 2 09-09-2008 05:05 PM


All times are GMT -4. The time now is 02:34 AM.


MobileRead.com is a privately owned, operated and funded community.