この問題はサーバーで解決しましたが、Chrome拡張機能では解決しませんでした。で読み込まれたカスタムフォントを使用すると、Chromeから警告が表示され@font-face
ます。例えば:
@font-face {
font-family: 'fontello';
src: url("../../fonts/fontello.svg#fontello") format('svg');
font-weight: normal;
font-style: normal;
}
そしてChromeは私にこのようなことを教えてくれます:
Resource interpreted as Font but transferred with MIME type image/svg+xml: "fonts/fontello.svg#fontello"
サーバー上でフォントのヘッダーを強制的に設定できますが、Chrome拡張機能で何ができますか?あらゆる種類のChrome拡張機能の魔法よろしくお願いします。