View Single Post
Old 12-23-2011, 09:02 PM   #79
Junior Member
Andreea began at the beginning.
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Sony PRST1
Originally Posted by jackie_w View Post
I just tried it on my non-rooted PRST1.
The res:///ebook/fonts/xxx.otf location works great for getting the internal extra fonts (Amasis, PalatinoNova etc) to work correctly. One has to wonder how Sony were able to make such a pig's ear of the extra fonts feature. Including the standard 4 @font-face statements in the css file works a treat,
e.g for Amasis:
@font-face {font-family: serif; font-weight: normal; font-style: normal;  src: url(res:///ebook/fonts/AmasisMTW1G.otf)}
@font-face {font-family: serif; font-weight: normal; font-style: italic;  src: url(res:///ebook/fonts/AmasisMTW1G-Italic.otf);}
@font-face {font-family: serif; font-weight: bold; font-style: normal;  src: url(res:///ebook/fonts/AmasisMTW1G-Bold.otf);}
@font-face {font-family: serif; font-weight: bold; font-style: italic;  src: url(res:///ebook/fonts/AmasisMTW1G-BoldItalic.otf);}
these statements must be included in the css file inside the "fonts" directory?
how can i access this directory?
Andreea is offline   Reply With Quote