我有一个字体,我已经使用@ font-face并入了我的网站。即使它在ff/chome/safari中显示得很好,在Opera中渲染也很困难。歌剧和@ font-face
我使用Google的字体API;这是我的html:
<link
href='http://fonts.googleapis.com/css?family=Muli'
rel='stylesheet'
type='text/css' >
,然后我的CSS:
/* this is whats in the linked file */
@font-face
{ font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: local('Muli'), url('http://themes.googleusercontent.com/static/fonts/muli/v2/ kU4XYdV4jtS72BIidPtqyw.woff') format('woff');
}
/* this is the css in my site */
body
{ font-family: 'Muli', sans-serif;
}
我不知道这是为什么不工作:在API称它与歌剧10.5起来......
据http://dev.opera.com/articles/view/introducing-woff-web-open-font-format/WOFF仅支持Opera 11.10及更高版本。 – DanMan