有没有办法在 HTML 电子邮件中使用 Google 网络字体? [英] Is there a way to use Google Web Fonts in an HTML email?

查看:23
本文介绍了有没有办法在 HTML 电子邮件中使用 Google 网络字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTML 电子邮件必须(应该)内联其 CSS,以便在大多数电子邮件客户端中获得预期的设计.

An HTML email must (should) have its CSS inlined in order to have the expected design in most of the email clients.

是否有一种方法可以将 Google 网络字体链接到或嵌入到此类电子邮件中,但仍能在电子邮件客户端中保持广泛接受(适当呈现)?

Is there a way to link a Google Web Font to or embed in such an email but still maintain a broad acceptance (appropriate rendering) among email clients?

我知道另一种方法是使用具有相应排版的图像,但我会先搜索其他可能有用的东西.

I know that an alternative would be to have an image with the corresponding typography, but I would first search for something else that might work.

推荐答案

如果字体是绝对必要的,你将不得不使用文本作为图像解决方案.截至 12 月,只有 iOS 邮件、Mail.app、Lotus Notes 8、Android 上的默认邮件、Outlook 2000 和 Thunderbird 支持使用外部自定义字体.

If the font is absolutely necessary, you will have to go with the text as image solution. As of December, only iOS Mail, Mail.app, Lotus Notes 8, default Mail on Android, Outlook 2000, and Thunderbird support the use of an external custom font.

见:http://www.campaignmonitor.com/blog/post/3897/using-web-fonts-in-email

编辑 2/10/2014:由于这是我最受欢迎的答案之一,这里是电子邮件中网络字体最佳实践的更新链接:

Edit 2/10/2014: Since this is one of my most popular answers, here is the updated link on best practice of web fonts in emails:

http://www.campaignmonitor.com/resources/will-it-work/webfonts/

这篇关于有没有办法在 HTML 电子邮件中使用 Google 网络字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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