ニュースレター/ htmlメールでカスタムフォントを使用しようとしています。私はSafari、Firefox、Chromeで@ font-faceのインポートを行っていますが、電子メールクライアント(appleメール、thunderbird、gmailでテスト済み)で使用しようとするとカスタムフォントは表示されません。私はこれについていくつかの記事を読んでいますが、提案された解決策はメールクライアントがサポートされているかどうかをチェックしています。 Googleのフォントでも動作しません。だから何が間違っているかもしれない他の提案がありますか?@ font-faceがhtmlメールで動作しない
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="x-apple-disable-message-reformatting">
<!--[if !mso]><!-->
<style type="text/css">
@font-face {
font-family: 'myfont';
src: url('https://example.com/various/myfont-Regular.eot');
src: url('https://example.com/various/myfont-Regular.woff2') format('woff2'),
url('https://example.com/various/myfont-Regular.woff') format('woff'),
url('https://example.com/various/myfont-Regular.ttf') format('truetype'),
url('https://example.com/various/myfont-Regular.svg#FreelandforDouglas-Regular') format('svg'),
url('https://example.com/various/myfont-Regular.eot?#iefix') format('embedded-opentype');
font-weight: normal;
font-style: normal;
}
</style>
<!--<![endif]-->
</head>
一部のメールクライアントは外部フォントをサポートしていないと思います。このリンクを見て、CSSクライアントと電子メールクライアントの包括的なガイドをご覧ください。 http://www.campaignmonitor.com/css/ –