4 Replies Latest reply on Nov 5, 2014 12:40 PM by riccardof

    jboss 7.3Final does not load local font face

    vata2999

      I created a simple ear project with following style sheet

       

      @font-face {
        font-family: 'yekan';
        src: url('../fonts/yekan.woff') format('woff'),
             url('../fonts/yekan.ttf') format('truetype');
      }
      
      p { font-family : yekan }
      

       

      but the font does not load in Jboss AS 7.3 I also added this to web.xml.

       

      
      
      
      
      <mime-mapping>
      
      
      
              <extension>woff</extension>
              <mime-type>application/font-woff</mime-type>
          </mime-mapping>
      

       

      it successfully works on Jboss 4.2 is this a bug ?