Dny*_*dge 5 html5 fonts google-chrome css3 font-face
自定义@font-face不加载chrome(chrome自定义字体无法渲染)使用CSS自定义字体
@font-face {
font-family:'gotham-rounded-medium';
src:url('fonts/gothumrounded_medium/gotham-rounded-medium.eot');
src:url('fonts/gothumrounded_medium/gotham-rounded-medium.eot?#iefix')format("embedded-opentype"),
url('fonts/gothumrounded_medium/gotham-rounded-medium.woff')format("woff"),
url('fonts/gothumrounded_medium/gotham-rounded-medium.ttf')format("truetype"),
url('fonts/gothumrounded_medium/gotham-rounded-medium.svg')format("svg");
font-weight:400;
font-style:normal
}
.custom_font{
font-family:'gotham-rounded-medium', arial, sans-serif;
}
Run Code Online (Sandbox Code Playgroud)
仅在调整屏幕窗口大小时才会显示文本.
那么请问有什么可以解决这个问题吗?
就我而言,问题与不同 Angular 2 模块制作的相同 @font-face 的多次包含有关。请参见:
https://bugs.chromium.org/p/chromium/issues/detail?id=582198#c20
| 归档时间: |
|
| 查看次数: |
3106 次 |
| 最近记录: |