我已经下载了谷歌的“诺托彩色表情符号”字体,但无法使其工作。我对“Noto Sans Regular”等字体没有任何问题。但使用“Noto Color Emoji”字体时,我在 Firefox(在 Windows 10 上)中收到以下错误:
downloadable font: no supported glyph shapes table(s) present (font-family: "NotoColorEmoji" style:normal weight:normal stretch:normal src index:0)
downloadable font: rejected by sanitizer (font-family: "NotoColorEmoji" style:normal weight:normal stretch:normal src index:0)
它也不适用于 Windows 10 上的 Chrome、Internet Explorer 和 Edge 或 Ubuntu Linux 上的 Firefox。
这是我的代码:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
@font-face {
font-family: 'NotoColorEmoji';
src: url('NotoColorEmoji.ttf') format('truetype');
}
</style>
</head>
<body>
<span style="font-family: 'NotoColorEmoji'">Emojis:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)