來源知乎html
最新的消息:可使用Google原生的連接了。它的字體文件已經部署在了北京的服務器上。可經過dig驗證api
$dig fonts.googleapis.com fonts.googleapis.com. 3052 IN CNAME googleadapis.l.google.com. googleadapis.l.google.com. 600 IN A 203.208.40.39 googleadapis.l.google.com. 600 IN A 203.208.40.41 googleadapis.l.google.com. 600 IN A 203.208.40.37 googleadapis.l.google.com. 600 IN A 203.208.40.34 googleadapis.l.google.com. 600 IN A 203.208.40.32 googleadapis.l.google.com. 600 IN A 203.208.40.35 googleadapis.l.google.com. 600 IN A 203.208.40.36 googleadapis.l.google.com. 600 IN A 203.208.40.40 googleadapis.l.google.com. 600 IN A 203.208.40.33 googleadapis.l.google.com. 600 IN A 203.208.40.46 googleadapis.l.google.com. 600 IN A 203.208.40.38
查詢上述IP地址可知服務器在北京。bash
所以,如今(2017年3月20日)能夠經過下面的標記直接導入谷歌字體。服務器
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">