CSS3 @font-face 不适用于受版权保护的字体或某些字体吗?
我在尝试让 @font-face
在这里渲染字体时遇到问题。我似乎无法让它与 Segoe(WP7 上的字体)一起使用。代码看起来正确,我使用的是最新版本的 Safari。我知道它是受版权保护的字体,它只是用于个人项目,但我似乎无法让它工作。有人可以帮忙或者有什么建议吗?
@font-face {
font-family: segoe;
src: url('../font/segoe.ttf');
format: 'truetype';
}
p{
font-family: segoe;
}
<p>testing to see if this font will render</p>
I am having an issue trying to get @font-face
to render fonts here. I can't seem to get it to work with Segoe (the font on WP7). The code looks correct, and I am using the latest version of Safari. I know its a copyrighted font, and it is just being used for a personal project, but i cant seem to get it to work. Can anyone help or have any suggestions?
@font-face {
font-family: segoe;
src: url('../font/segoe.ttf');
format: 'truetype';
}
p{
font-family: segoe;
}
<p>testing to see if this font will render</p>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用
"
(双引号)而不是'
(单引号)。Try using
"
(double quotes) not'
(single quotes).