@fontface on blackberry os 7

2019-08-19 07:48发布

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

1条回答
forever°为你锁心
2楼-- · 2019-08-19 08:02

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;
}
查看更多
登录 后发表回答