You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Own Fonts and Widgets
Hi,I'm trying to use the Web Fonts Support in the Opera Widgets, but no luck till now..
My folder structur is:
Widget
|- fonts
|- style
|- images
|- confix.xml
|- index.html
In style/style.css i've written:
@font-face {
font-family: "Sansation";
src: url(./fonts/Sansation_Regular.ttf) format("truetype");
}
And in the css classes:
h1 > span:nth-of-type(1) {
font-family: "Sansation", sans-serif;
}
But the Font is not used. In Dragonfly as "computed css" the font is ever "Arial".
I tryed different folder path
./fonts/
../fonts/
../../fonts/
fonts/
/fonts/
but nothing worked.
Any Idea?
Newest Opera Final and Opera Next - YouTube Extension: YouWatch, jetzt auch auf Deutsch
Forums » Dev.Opera » Archived Opera Widgets Development Discussions