Search code examples
htmlcssfont-face

@fontface on blackberry os 7


I am trying to load a font that works fine everywhere but not on blackberry OS 7

@font-face {font-family: 'CCDoohickeyOpen';src: url('webfonts/244FAC_0_0.eot');
src:     url('webfonts/244FAC_0_0.eot?#iefix') 
format('embedded-opentype'),url('webfonts/244FAC_0_0.woff') f
ormat('woff'),url('webfonts/244FAC_0_0.ttf')
format('truetype'),url('webfonts/244fac_0_0-webfont.svg#CCDoohickeyOpen') 
format('svg');}

the page is at http://lisp.li what am I doing wrong? Ironically other web fonts from other sites seems to work fine on bb 7. thanks in advance David


Solution

  • BB supports only SVG Files

    The Blackberry browser on BB OS5, 6 and 7 only supports SVG font files (you can use fontsquirrel to convert from other formats).

    @font-face {
        font-family: 'CCDoohickeyOpen';
        src: url('webfonts/244fac_0_0-webfont.svg#CCDoohickeyOpen') format('svg');
        font-weight: normal;
        font-style: normal;
    }