繁体   English   中英

在 Gmail 中加载 Open Sans Google 字体

[英]Loading Open Sans Google font in Gmail

我在我的电子邮件中使用 Google 字体Open Sans ,它们在 Apple Mail 客户端中看起来很好,但是它们没有显示在 Gmail 中。

我的理解是,Gmail 通常不加载 web 字体,但是我看到一些评论表明 Gmail 现在将加载 Webfont 的一小部分“Open San”,其中一个很流行。

然而,这篇文表明,截至 2020 年 4 月,这仍然是不可能的。

有没有办法解决这个问题,还是我们仍然必须求助于后备 fonts? 例如:

font-family: Open Sans, Arial, sans-serif;

看起来你将从 Gmail 获得的最好的是 Roboto。 Open Sans 似乎不起作用。

Roboto will work on Gmail webmail, and the Gmail app on iOS, but not the Gmail app on Android (tested Android 6, 7.1 and 8).

Gmail iOS 10.3.2,带有衬线(波浪形位)后备:

显示 Open Sans 和 Oswald 无法加载,但 Roboto 确实加载了

Gmail Android 8.0,带衬线后备:

显示所有字体加载失败

所以你最好的字体堆栈是:'Custom Font'、Roboto、WebSafeFont、generic。

ie font-family:'Open Sans',Roboto,Arial,sans-serif;

不,目前是不可能的。 建议您继续使用后备 fonts 直到它获得支持。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM