问题描述
我使用https://developers.google.com/fonts/docs/developer_api获取Google字体列表。
格式如下
{
"kind": "webfonts#webfontList","items": [
[...]
{
"kind": "webfonts#webfont","family": "Anonymous Pro","variants": [
"regular","italic","700","700italic"
],"subsets": [
"greek","greek-ext","cyrillic-ext","latin-ext","latin","cyrillic"
],"version": "v3","lastModified": "2012-07-25","files": {
"regular": "http://themes.googleusercontent.com/static/fonts/anonymouspro/v3/Zhfjj_gat3waL4JSju74E-V_5zh5b-_HiooIRUBwn1A.ttf","italic": "http://themes.googleusercontent.com/static/fonts/anonymouspro/v3/q0u6LFHwttnT_69euiDbWKwIsuKDCXG0NQm7BvAgx-c.ttf","700": "http://themes.googleusercontent.com/static/fonts/anonymouspro/v3/WDf5lZYgdmmKhO8E1AQud--Cz_5MeePnXDAcLNWyBME.ttf","700italic": "http://themes.googleusercontent.com/static/fonts/anonymouspro/v3/_fVr_XGln-cetWSUc-JpfA1LL9bfs7wyIp6F8OC9RxA.ttf"
}
},{
"kind": "webfonts#webfont","family": "Antic",
在github仓库中 https://github.com/asadkn 我找到了一个列表,其中包含Google字体(分为unicode范围): https://raw.githubusercontent.com/asadkn/selfhost-google-fonts/master/inc/data/google-fonts-src.json
Google也提供这种格式吗?还有其他下载这种格式数据的方法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)