Thread: Embedded fonts
View Single Post
Old 11-10-2011, 04:30 PM   #11
sellew
Enthusiast
sellew has a complete set of Star Wars action figures.sellew has a complete set of Star Wars action figures.sellew has a complete set of Star Wars action figures.sellew has a complete set of Star Wars action figures.
 
Posts: 30
Karma: 300
Join Date: Oct 2011
Location: Barcelona
Device: Sony PRS-650, PRS-T2
I think the problem is in the path. As other people mention above in the css code it should be written:

src:url(../Fonts/elegital.ttf);

I use this in my PRS-650 for embedded fonts and it works fine.

Alternatively, sometimes instead of embedding the fonts in the ePub file I create a folder called 'Fonts' in the root of the internal memory of the reader and save the fonts there. Then the syntax used in the css is:

src: url(res:///Data/Fonts/elegital.ttf);

And don't forget that css is case sensitive!

I hope it will help.
sellew is offline   Reply With Quote