View Single Post
Old 04-09-2010, 02:49 AM   #7
overdrunk
Member
overdrunk began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2010
Device: PRS-300
Hello, Matthijs,

You may missed one / after res://, right?
unfortunately this did not work out (tried both res:// and res:///).

Quote:
Originally Posted by Matthijs View Post
The 2.0 firmware now adds proper support for CSS userStyles and loading of resource URI's.

I believe it will work if you change your CSS to:

Code:
@font-face {
font-family:"my font";
src:url(res://fonts/ttf/my_font.ttf);
}
All resources will now be loaded from /usr/share by default.

See also /usr/share/userStyle.css on the device.
overdrunk is offline   Reply With Quote