Ich habe Google's "Noto Color Emoji" Schriftart heruntergeladen, kann aber nicht funktionieren. Ich habe keine Probleme mit Schriften wie "Noto Sans Regular". Aber mit der "Noto Farbe Emoji" font erhalte ich die folgenden Fehler in Firefox (unter Windows 10):Wie verwende ich eine Emoji-Schriftart auf einer Website?
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)
Es ist auch nicht mit Chrome, Internet Explorer und Edge-auf Windows 10 oder Firefox auf Ubuntu Linux arbeiten.
Dies ist mein Code:
<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: </span>
</body>
Was mache ich falsch? Werden Emoji-Schriftarten anders verwendet?
Wo genau haben Sie die Schrift her? Bist du sicher, dass es für das Web geeignet ist? – deceze
Sie haben nur Problem mit Firefox? gewinnen, Mac? –
https://github.com/googlei18n/noto-emoji/issues/43 –