{"action":"created","comment":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/71638412","id":71638412,"diff_hunk":"@@ -1,244 +1,244 @@\n->* 原文链接 : [A COMPREHENSIVE GUIDE TO FONT LOADING STRATEGIES](https://www.zachleat.com/web/comprehensive-webfonts/)\n-* 原文作者 : [Zell](http://zellwk.com/contact/)\n-* 译文出自 : [掘金翻译计划](https://github.com/xitu/gold-miner)\n-* 译者 : \n-* 校对者:\n+> * 原文链接 : [A COMPREHENSIVE GUIDE TO FONT LOADING STRATEGIES](https://www.zachleat.com/web/comprehensive-webfonts/)\n+> * 原文作者 : [Zell](http://zellwk.com/contact/)\n+> * 译文出自 : [掘金翻译计划](https://github.com/xitu/gold-miner)\n+> * 译者 : [Nicolas(Yifei) Li](https://github.com/yifili09) \n+> * 校对者:\n \n-_12 July 2016_ _Read this in about 20 minutes._\n+_2016年7月12日，_ _本文需要20分钟的阅读时间。_\n \n-_This guide is not intended for use with font icons, which have different loading priorities and use cases. Also, SVG is probably a better long term choice._\n+_这份指南并不是教你怎么使用显示图标字体，它有不同的装载优先顺序和使用场景。并且，使用`SVG`或许是一个长久之计。_\n \n [![A diagram describing the relationship between the font loading strategies](https://www.zachleat.com/web/img/posts/comprehensive-webfonts/strategies.svg)](https://www.zachleat.com/web/img/posts/comprehensive-webfonts/strategies.svg)\n \n-## Quick Guide\n+## 快速指南\n \n-I want an approach that:\n+我想要一个这样的实现途径:\n \n-*   _is the most well rounded approach that will be *good enough* for most use cases_: [FOUT with a Class](https://www.zachleat.com/web/comprehensive-webfonts/#fout-class).\n+*  _是一个对大多数使用场景来说*足够好*且全面的实现方式_: (例如) [有分类的FOUT](https://www.zachleat.com/web/comprehensive-webfonts/#fout-class)\n \n-*   _is the easiest possible thing to implement_: I’ve learned a lot about web fonts and at time of writing this article the current browser support is lacking for the easiest methods for effective/robust web font implementation. It is with that in mind that I will admit—if you’re looking for the easy way out already, you should consider [not using web fonts](https://www.zachleat.com/web/comprehensive-webfonts/#abstain). If you don’t know what web fonts are doing to improve your design, they may not be right for you. Don’t get me wrong, web fonts are **great**. But educate yourself on the benefit first. ([In Defense of Web Fonts, _The Value of a Web Font_ by Robin Rendle](https://robinrendle.com/notes/in-defense-of-webfonts/#the-value-of-a-webfont) is a good start. If you have others, please leave a comment below!)\n+* _是尽可能最容易实现的方式_: 我已经学习了很多有关 [在线字体](http://www.webhek.com/tag/web-font/)，在我写这篇文章的时候，目前的浏览器还缺少对在线字体高效，稳定和最容易的实现方案。不得不承认，如果你正在寻找现存的可行方案，请考虑 [不要使用在线字体](https://www.zachleat.com/web/comprehensive-webfonts/#abstain)。如果你都不清楚在线字体能为你的设计带来什么提升的话，他们确实一点儿都不适合你。别误会，在线字体是一个**伟大发明**。但是你得让自己明白什么是它能带来的好处。([由Robin Rendel创作的，为在线字体辩护，论_在线字体的价值_](https://robinrendle.com/notes/in-defense-of-webfonts/#the-value-of-a-webfont) 是一个让你初步了解在线字体的好文章. 如果你还知道其他的, 请留言告诉我.)","path":"TODO/comprehensive-webfonts.md","position":30,"original_position":30,"commit_id":"50a3aca1177050afbaa0ea28c3435df7379ad49f","original_commit_id":"50a3aca1177050afbaa0ea28c3435df7379ad49f","user":{"login":"wild-flame","id":4491950,"avatar_url":"https://avatars.githubusercontent.com/u/4491950?v=3","gravatar_id":"","url":"https://api.github.com/users/wild-flame","html_url":"https://github.com/wild-flame","followers_url":"https://api.github.com/users/wild-flame/followers","following_url":"https://api.github.com/users/wild-flame/following{/other_user}","gists_url":"https://api.github.com/users/wild-flame/gists{/gist_id}","starred_url":"https://api.github.com/users/wild-flame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wild-flame/subscriptions","organizations_url":"https://api.github.com/users/wild-flame/orgs","repos_url":"https://api.github.com/users/wild-flame/repos","events_url":"https://api.github.com/users/wild-flame/events{/privacy}","received_events_url":"https://api.github.com/users/wild-flame/received_events","type":"User","site_admin":false},"body":"凡是 https://www.zachleat.com/web/comprehensive-webfonts/#something 这样的链接都是页面内链接，所有的这样的链接都需要修改","created_at":"2016-07-21T02:22:27Z","updated_at":"2016-07-21T02:22:27Z","html_url":"https://github.com/xitu/gold-miner/pull/547#discussion_r71638412","pull_request_url":"https://api.github.com/repos/xitu/gold-miner/pulls/547","_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/71638412"},"html":{"href":"https://github.com/xitu/gold-miner/pull/547#discussion_r71638412"},"pull_request":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/547"}}},"pull_request":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/547","id":77933874,"html_url":"https://github.com/xitu/gold-miner/pull/547","diff_url":"https://github.com/xitu/gold-miner/pull/547.diff","patch_url":"https://github.com/xitu/gold-miner/pull/547.patch","issue_url":"https://api.github.com/repos/xitu/gold-miner/issues/547","number":547,"state":"open","locked":false,"title":"Add translation for [Comprehensive Webfonts - 字体加载策略全面指南]","user":{"login":"yifili09","id":1016943,"avatar_url":"https://avatars.githubusercontent.com/u/1016943?v=3","gravatar_id":"","url":"https://api.github.com/users/yifili09","html_url":"https://github.com/yifili09","followers_url":"https://api.github.com/users/yifili09/followers","following_url":"https://api.github.com/users/yifili09/following{/other_user}","gists_url":"https://api.github.com/users/yifili09/gists{/gist_id}","starred_url":"https://api.github.com/users/yifili09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifili09/subscriptions","organizations_url":"https://api.github.com/users/yifili09/orgs","repos_url":"https://api.github.com/users/yifili09/repos","events_url":"https://api.github.com/users/yifili09/events{/privacy}","received_events_url":"https://api.github.com/users/yifili09/received_events","type":"User","site_admin":false},"body":"💥 Ready For Merge💥\r\n\r\n- PR for #535 ","created_at":"2016-07-19T08:09:23Z","updated_at":"2016-07-21T02:22:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74add1d56801f7f7217be43658ccb5f476279b57","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xitu/gold-miner/pulls/547/commits","review_comments_url":"https://api.github.com/repos/xitu/gold-miner/pulls/547/comments","review_comment_url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xitu/gold-miner/issues/547/comments","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/50a3aca1177050afbaa0ea28c3435df7379ad49f","head":{"label":"yifili09:translation","ref":"translation","sha":"50a3aca1177050afbaa0ea28c3435df7379ad49f","user":{"login":"yifili09","id":1016943,"avatar_url":"https://avatars.githubusercontent.com/u/1016943?v=3","gravatar_id":"","url":"https://api.github.com/users/yifili09","html_url":"https://github.com/yifili09","followers_url":"https://api.github.com/users/yifili09/followers","following_url":"https://api.github.com/users/yifili09/following{/other_user}","gists_url":"https://api.github.com/users/yifili09/gists{/gist_id}","starred_url":"https://api.github.com/users/yifili09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifili09/subscriptions","organizations_url":"https://api.github.com/users/yifili09/orgs","repos_url":"https://api.github.com/users/yifili09/repos","events_url":"https://api.github.com/users/yifili09/events{/privacy}","received_events_url":"https://api.github.com/users/yifili09/received_events","type":"User","site_admin":false},"repo":{"id":61690573,"name":"gold-miner","full_name":"yifili09/gold-miner","owner":{"login":"yifili09","id":1016943,"avatar_url":"https://avatars.githubusercontent.com/u/1016943?v=3","gravatar_id":"","url":"https://api.github.com/users/yifili09","html_url":"https://github.com/yifili09","followers_url":"https://api.github.com/users/yifili09/followers","following_url":"https://api.github.com/users/yifili09/following{/other_user}","gists_url":"https://api.github.com/users/yifili09/gists{/gist_id}","starred_url":"https://api.github.com/users/yifili09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifili09/subscriptions","organizations_url":"https://api.github.com/users/yifili09/orgs","repos_url":"https://api.github.com/users/yifili09/repos","events_url":"https://api.github.com/users/yifili09/events{/privacy}","received_events_url":"https://api.github.com/users/yifili09/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yifili09/gold-miner","description":"掘金翻译计划，翻译掘金上优质的英文文章","fork":true,"url":"https://api.github.com/repos/yifili09/gold-miner","forks_url":"https://api.github.com/repos/yifili09/gold-miner/forks","keys_url":"https://api.github.com/repos/yifili09/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yifili09/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yifili09/gold-miner/teams","hooks_url":"https://api.github.com/repos/yifili09/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/yifili09/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/yifili09/gold-miner/events","assignees_url":"https://api.github.com/repos/yifili09/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/yifili09/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/yifili09/gold-miner/tags","blobs_url":"https://api.github.com/repos/yifili09/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yifili09/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yifili09/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/yifili09/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yifili09/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/yifili09/gold-miner/languages","stargazers_url":"https://api.github.com/repos/yifili09/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/yifili09/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/yifili09/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/yifili09/gold-miner/subscription","commits_url":"https://api.github.com/repos/yifili09/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/yifili09/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/yifili09/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/yifili09/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/yifili09/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/yifili09/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yifili09/gold-miner/merges","archive_url":"https://api.github.com/repos/yifili09/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yifili09/gold-miner/downloads","issues_url":"https://api.github.com/repos/yifili09/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/yifili09/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/yifili09/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/yifili09/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yifili09/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/yifili09/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/yifili09/gold-miner/deployments","created_at":"2016-06-22T05:09:22Z","updated_at":"2016-06-22T05:08:36Z","pushed_at":"2016-07-19T08:07:07Z","git_url":"git://github.com/yifili09/gold-miner.git","ssh_url":"git@github.com:yifili09/gold-miner.git","clone_url":"https://github.com/yifili09/gold-miner.git","svn_url":"https://github.com/yifili09/gold-miner","homepage":"http://gold.xitu.io","size":13890,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xitu:master","ref":"master","sha":"bea3a12716f41a154980b2ee2e00569fa7f7ce06","user":{"login":"xitu","id":10482599,"avatar_url":"https://avatars.githubusercontent.com/u/10482599?v=3","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"repo":{"id":45512989,"name":"gold-miner","full_name":"xitu/gold-miner","owner":{"login":"xitu","id":10482599,"avatar_url":"https://avatars.githubusercontent.com/u/10482599?v=3","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xitu/gold-miner","description":"掘金翻译计划，翻译掘金上优质的英文文章","fork":false,"url":"https://api.github.com/repos/xitu/gold-miner","forks_url":"https://api.github.com/repos/xitu/gold-miner/forks","keys_url":"https://api.github.com/repos/xitu/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xitu/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xitu/gold-miner/teams","hooks_url":"https://api.github.com/repos/xitu/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/xitu/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/xitu/gold-miner/events","assignees_url":"https://api.github.com/repos/xitu/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/xitu/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/xitu/gold-miner/tags","blobs_url":"https://api.github.com/repos/xitu/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xitu/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xitu/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/xitu/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/xitu/gold-miner/languages","stargazers_url":"https://api.github.com/repos/xitu/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/xitu/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/xitu/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/xitu/gold-miner/subscription","commits_url":"https://api.github.com/repos/xitu/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/xitu/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/xitu/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/xitu/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/xitu/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/xitu/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xitu/gold-miner/merges","archive_url":"https://api.github.com/repos/xitu/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xitu/gold-miner/downloads","issues_url":"https://api.github.com/repos/xitu/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/xitu/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/xitu/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/xitu/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xitu/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/xitu/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/xitu/gold-miner/deployments","created_at":"2015-11-04T03:29:13Z","updated_at":"2016-07-21T01:50:01Z","pushed_at":"2016-07-20T12:12:53Z","git_url":"git://github.com/xitu/gold-miner.git","ssh_url":"git@github.com:xitu/gold-miner.git","clone_url":"https://github.com/xitu/gold-miner.git","svn_url":"https://github.com/xitu/gold-miner","homepage":"http://gold.xitu.io","size":14843,"stargazers_count":2493,"watchers_count":2493,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":475,"mirror_url":null,"open_issues_count":14,"forks":475,"open_issues":14,"watchers":2493,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/547"},"html":{"href":"https://github.com/xitu/gold-miner/pull/547"},"issue":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/547"},"comments":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/547/comments"},"review_comments":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/547/comments"},"review_comment":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/547/commits"},"statuses":{"href":"https://api.github.com/repos/xitu/gold-miner/statuses/50a3aca1177050afbaa0ea28c3435df7379ad49f"}}}}
{"actor":{"display_login":"wild-flame"}}