【发布时间】:2014-11-28 16:37:12
【问题描述】:
我正在使用 SourceSansPro-Bold。我下载了一个文件 ttf,并且我将其他格式声明为 google 链接。但我的问题是这些链接是否正确?
问题是谷歌链接声明了单词'V4,可能是版本4,但我需要版本“粗体”的字体。
如何检查是否有相同的字体(都是粗体)?
或者如何修改谷歌链接以确保获得粗体?
Css字体定义:
@font-face {
font-family: 'source sans pro';
font-style: normal;
font-weight: bold;
src: font-url('SourceSansPro-Bold.ttf');
src: font-url('SourceSansPro-Bold.ttf') format('truetype'),
local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v4/toadOcfmlt9b38dHJxOBGBlTL9oEQvYTI0YAW1-Ysv0.eot) format('embedded-opentype'),
url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v4/toadOcfmlt9b38dHJxOBGNbE_oMaV8t2eFeISPpzbdE.woff) format('woff');
}
内含 V4 字符串的 Google 字体声明:
http://themes.googleusercontent.com/static/fonts/sourcesanspro/v4/toadOcfmlt9b38dHJxOBGBlTL9oEQvYTI0YAW1-Ysv0.eo
【问题讨论】:
标签: css fonts google-font-api