Quote:
Originally Posted by edbro
I need help please with changing the fonts. I have several different fonts but when I switch among them using "User EPUB Style" in Book Viewer Settings, nothing changes. The fonts stay the same. So, I'm guessing my css files are not quite correct, probably the path. Below is an example for the Garamond font. Can anybody tell me if it is correct please?
I've also tried replacing the "res:///database" with just "/database". Still no luck when change css files.
|
You have a bit of the path missing. Instead of:
Code:
src: url(res:///database/system/PRSPlus/epub/FONT/Garamond/AGaramondPro-Regular.otf)
try
Code:
src: url(res:///Data/database/system/PRSPlus/epub/FONT/Garamond/AGaramondPro-Regular.otf)
This assumes that you have saved the actual .otf files in directory
/database/system/PRSPlus/epub/FONT/Garamond/ in internal memory and that the whole dir path is case-sensitive. Although you can't see the
/Data the Sony can. What you see as the root directory of int memory is res:///Data/ to the Sony.