View Single Post
Old 04-09-2010, 05:33 AM   #10
Opensesame
Member
Opensesame began at the beginning.
 
Posts: 18
Karma: 20
Join Date: Nov 2009
Location: Beijing, China
Device: iRex DR800SG
Quote:
Originally Posted by Matthijs View Post
Hmm, strange. It should have 3 slashes indeed. And you did make sure the font is actually copied into /usr/share/fonts/ttf/my_font.ttf?

Our userStyle.css does the following, which works fine:

Code:
@font-face { font-family: sans-serif; src: url(res:///fonts/ttf/DejaVuSans.ttf)}
You may need to add your custom font-face definition into our userStyle.css?
Matthijs,

Where is the userStyle.css? We have to hack the source code?

thanks
Opensesame is offline   Reply With Quote