Gmail无法在电子邮件上正确显示字体 [英] Gmail is not rendering Font correctly on Emails

查看:214
本文介绍了Gmail无法在电子邮件上正确显示字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了一个HTML电子邮件并使用了Google字体.

I've built an html Email and used Google fonts.

我使用以下方法在head标签中添加了字体:

I've included the fonts in the head tag using:

    ╔!--[if !mso]╗╔!--╗
     <link href="https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700" rel="stylesheet"/>
     <link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:300,300i,400,400i,700,700i,800,800i" rel="stylesheet"/>
    ╔!--╔![endif]--╗

并使用字体,即我这样做了:

and to use the fonts, i.e I did so:

    <tr>
      <td valign="top">
         <p style="line-height:1;margin:0;color:#ffffff;font-family:'Merriweather Sans', sans-serif;font-size:12px;font-weight:normal;">Für Fragen sind wir jederzeit für Dich da:</p>
      </td>
    </tr>

问题是:字体在Apple Mail上完美呈现,而在Gmail中只有Oswald.

The problem is: the fonts are rendered perfectly on apple mail, on Gmail only Oswald.

我试图弄清楚为什么"Merriweather Sans"无法正确呈现,但没有机会.

I've tried to figure out, why 'Merriweather Sans' is not rendered correctly, but no chance.

你能帮我吗?

推荐答案

问题是:字体在Apple Mail, 仅限Gmail Oswald.

The problem is: the fonts are rendered perfectly on apple mail, on Gmail only Oswald.

对于此问题的第一部分,Apple Mail支持Web字体.这就是您看到它在所有Apple Mail客户端上都能正确呈现的原因.

For the first part of this question, apple mail supports web fonts. This is the reason you see it render properly across all apple mail clients.

第二部分(Gmail)的家庭字体中将包含Oswald,这是我可以考虑的唯一原因,它将使Oswald出现在您的电子邮件中.

For the second part (Gmail) would have Oswald in its family font, that is the only reason that I can think off that will render Oswald in your emails.

我试图弄清楚为什么未显示"Merriweather Sans" 正确,但没有机会.

I've tried to figure out, why 'Merriweather Sans' is not rendered correctly, but no chance.

Gmail仍然存在链接到电子邮件的Web字体的问题,这就是未呈现"Merriweather Sans"的原因.

Gmail still has an issue with web fonts linked to emails and that is the reason 'Merriweather Sans' is not rendered.

这篇关于Gmail无法在电子邮件上正确显示字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆