I have a problem loading my fonts defined in my css file with the @font-face
css rule which allows me to download the fonts from my server.
Initally I define the rules in my css file the following way:



The css-file is references by a CssResourceReference and contributed to the
header with a Behavior:



After loading my sample page with the Behavior, I've got the following
Exception:



Unfortunately, something with the resource mapping is wrong or does it mean,
that the file type is not supported?



The directory structure is like this:

/com/foo/wicket/behavior/css/FontFaceCssHeaderContributor.java
/com/foo/wicket/behavior/css/FontFaceCssResourceReference.java
/com/foo/wicket/behavior/css/font_face.css
/com/foo/wicket/behavior/fonts/sansation_regular-webfont.eot

Does somebody have any idea?
Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Using-font-face-css-rules-tp4567586p4567586.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to