2011-06-29 37 views
9

我想使用谷歌Web字體「飛越彩虹」在Gmail中撰寫郵件時是否有可能使用谷歌網頁字體在Gmail

<link href='http://fonts.googleapis.com/css?family=Over+the+Rainbow&v2' rel='stylesheet' type='text/css'> 

這可能嗎?

<script type="text/javascript"> 
    WebFontConfig = { 
    google: { families: [ 'Over+the+Rainbow' ] } 
    }; 
    (function() { 
    var wf = document.createElement('script'); 
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + 
     '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; 
    wf.type = 'text/javascript'; 
    wf.async = 'true'; 
    var s = document.getElementsByTagName('script')[0]; 
    s.parentNode.insertBefore(wf, s); 
    })(); </script> 
+2

至少Gmail支持Google自己郵件的網頁字體。 [This](http://i.stack.imgur.com/nsX7Y.png)是來自「Google+環聊」的郵件 - 字體Roboto包含在郵件的「」中。 – phils

回答

12

我希望答案是不同的,但我不相信這是現在可能的。

我不相信Gmail會允許您在郵件正文(although some email clients will)中插入鏈接元素。

Gmail不允許您在郵件中運行JavaScript。

+1

我希望將來在Gmail中提供網頁字體 –

+0

Google網頁字體只是一個CSS文件,outlook.com支持在編輯電子郵件時添加網頁字體爲HTML,但在發送消息後字體格式消失 –

+2

是不是具有諷刺意味的是Google Webfonts幾乎可以在除Google以外的每個郵件客戶端上運行..... – user1380540

相關問題