{"action":"created","comment":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments/34222652","id":34222652,"diff_hunk":"@@ -19,3 +19,21 @@ Once you have these things, run\n \n which should generate new metrics and place them into `fontMetrics.js`. You're\n done!\n+\n+### OS X Notes\n+\n+Install the JSON perl module:\n+    \n+    sudo cpan JSON\n+\n+Install fontforge with python extensions (this may install python as well):\n+\n+    brew install fontforge --enable-pyextension\n+    \n+If you get a \"Segmentation fault: 11\" when running `make metrics` you'll have","path":"metrics/README.md","position":15,"original_position":15,"commit_id":"abc370909ea77a45ea1dc34a2b155d80d0ce0c20","original_commit_id":"abc370909ea77a45ea1dc34a2b155d80d0ce0c20","user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"body":"It still picks up the system python.  I'd like to make this go away eventually by replacing `fontforge` with `freetype-py`.  See https://github.com/Khan/KaTeX/issues/288 for details.","created_at":"2015-07-09T04:26:10Z","updated_at":"2015-07-09T04:26:10Z","html_url":"https://github.com/Khan/KaTeX/pull/290#discussion_r34222652","pull_request_url":"https://api.github.com/repos/Khan/KaTeX/pulls/290","_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments/34222652"},"html":{"href":"https://github.com/Khan/KaTeX/pull/290#discussion_r34222652"},"pull_request":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/290"}}},"pull_request":{"url":"https://api.github.com/repos/Khan/KaTeX/pulls/290","id":39213211,"html_url":"https://github.com/Khan/KaTeX/pull/290","diff_url":"https://github.com/Khan/KaTeX/pull/290.diff","patch_url":"https://github.com/Khan/KaTeX/pull/290.patch","issue_url":"https://api.github.com/repos/Khan/KaTeX/issues/290","number":290,"state":"open","locked":false,"title":"Adds font metrics to support font commands.","user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"body":"This is part 1 of 3.  Rendering, screenshots, MathML, and unit tests will\r\nfollow in susbequent pull requests.","created_at":"2015-07-04T21:35:31Z","updated_at":"2015-07-09T04:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dbd31d8cee15e349e28a5ef397935a3836af321","assignee":{"login":"xymostech","id":217900,"avatar_url":"https://avatars.githubusercontent.com/u/217900?v=3","gravatar_id":"","url":"https://api.github.com/users/xymostech","html_url":"https://github.com/xymostech","followers_url":"https://api.github.com/users/xymostech/followers","following_url":"https://api.github.com/users/xymostech/following{/other_user}","gists_url":"https://api.github.com/users/xymostech/gists{/gist_id}","starred_url":"https://api.github.com/users/xymostech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xymostech/subscriptions","organizations_url":"https://api.github.com/users/xymostech/orgs","repos_url":"https://api.github.com/users/xymostech/repos","events_url":"https://api.github.com/users/xymostech/events{/privacy}","received_events_url":"https://api.github.com/users/xymostech/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Khan/KaTeX/pulls/290/commits","review_comments_url":"https://api.github.com/repos/Khan/KaTeX/pulls/290/comments","review_comment_url":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Khan/KaTeX/issues/290/comments","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/abc370909ea77a45ea1dc34a2b155d80d0ce0c20","head":{"label":"kevinb7:fonts-p1_metrics","ref":"fonts-p1_metrics","sha":"abc370909ea77a45ea1dc34a2b155d80d0ce0c20","user":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"repo":{"id":24081457,"name":"KaTeX","full_name":"kevinb7/KaTeX","owner":{"login":"kevinb7","id":1044413,"avatar_url":"https://avatars.githubusercontent.com/u/1044413?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb7","html_url":"https://github.com/kevinb7","followers_url":"https://api.github.com/users/kevinb7/followers","following_url":"https://api.github.com/users/kevinb7/following{/other_user}","gists_url":"https://api.github.com/users/kevinb7/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb7/subscriptions","organizations_url":"https://api.github.com/users/kevinb7/orgs","repos_url":"https://api.github.com/users/kevinb7/repos","events_url":"https://api.github.com/users/kevinb7/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinb7/KaTeX","description":"Fast math typesetting for the web.","fork":true,"url":"https://api.github.com/repos/kevinb7/KaTeX","forks_url":"https://api.github.com/repos/kevinb7/KaTeX/forks","keys_url":"https://api.github.com/repos/kevinb7/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinb7/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinb7/KaTeX/teams","hooks_url":"https://api.github.com/repos/kevinb7/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/kevinb7/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/kevinb7/KaTeX/events","assignees_url":"https://api.github.com/repos/kevinb7/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/kevinb7/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/kevinb7/KaTeX/tags","blobs_url":"https://api.github.com/repos/kevinb7/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinb7/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinb7/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinb7/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinb7/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinb7/KaTeX/languages","stargazers_url":"https://api.github.com/repos/kevinb7/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/kevinb7/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/kevinb7/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/kevinb7/KaTeX/subscription","commits_url":"https://api.github.com/repos/kevinb7/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinb7/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinb7/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinb7/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinb7/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/kevinb7/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinb7/KaTeX/merges","archive_url":"https://api.github.com/repos/kevinb7/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinb7/KaTeX/downloads","issues_url":"https://api.github.com/repos/kevinb7/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/kevinb7/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinb7/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinb7/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinb7/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/kevinb7/KaTeX/releases{/id}","created_at":"2014-09-16T01:57:24Z","updated_at":"2014-09-22T02:27:21Z","pushed_at":"2015-07-08T05:51:00Z","git_url":"git://github.com/kevinb7/KaTeX.git","ssh_url":"git@github.com:kevinb7/KaTeX.git","clone_url":"https://github.com/kevinb7/KaTeX.git","svn_url":"https://github.com/kevinb7/KaTeX","homepage":"http://khan.github.io/KaTeX/","size":10286,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Khan:master","ref":"master","sha":"7be056c1f4a5cfe00120f5b20662a876573b348c","user":{"login":"Khan","id":15455,"avatar_url":"https://avatars.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"repo":{"id":11195700,"name":"KaTeX","full_name":"Khan/KaTeX","owner":{"login":"Khan","id":15455,"avatar_url":"https://avatars.githubusercontent.com/u/15455?v=3","gravatar_id":"","url":"https://api.github.com/users/Khan","html_url":"https://github.com/Khan","followers_url":"https://api.github.com/users/Khan/followers","following_url":"https://api.github.com/users/Khan/following{/other_user}","gists_url":"https://api.github.com/users/Khan/gists{/gist_id}","starred_url":"https://api.github.com/users/Khan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khan/subscriptions","organizations_url":"https://api.github.com/users/Khan/orgs","repos_url":"https://api.github.com/users/Khan/repos","events_url":"https://api.github.com/users/Khan/events{/privacy}","received_events_url":"https://api.github.com/users/Khan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Khan/KaTeX","description":"Fast math typesetting for the web.","fork":false,"url":"https://api.github.com/repos/Khan/KaTeX","forks_url":"https://api.github.com/repos/Khan/KaTeX/forks","keys_url":"https://api.github.com/repos/Khan/KaTeX/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Khan/KaTeX/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Khan/KaTeX/teams","hooks_url":"https://api.github.com/repos/Khan/KaTeX/hooks","issue_events_url":"https://api.github.com/repos/Khan/KaTeX/issues/events{/number}","events_url":"https://api.github.com/repos/Khan/KaTeX/events","assignees_url":"https://api.github.com/repos/Khan/KaTeX/assignees{/user}","branches_url":"https://api.github.com/repos/Khan/KaTeX/branches{/branch}","tags_url":"https://api.github.com/repos/Khan/KaTeX/tags","blobs_url":"https://api.github.com/repos/Khan/KaTeX/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Khan/KaTeX/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Khan/KaTeX/git/refs{/sha}","trees_url":"https://api.github.com/repos/Khan/KaTeX/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Khan/KaTeX/statuses/{sha}","languages_url":"https://api.github.com/repos/Khan/KaTeX/languages","stargazers_url":"https://api.github.com/repos/Khan/KaTeX/stargazers","contributors_url":"https://api.github.com/repos/Khan/KaTeX/contributors","subscribers_url":"https://api.github.com/repos/Khan/KaTeX/subscribers","subscription_url":"https://api.github.com/repos/Khan/KaTeX/subscription","commits_url":"https://api.github.com/repos/Khan/KaTeX/commits{/sha}","git_commits_url":"https://api.github.com/repos/Khan/KaTeX/git/commits{/sha}","comments_url":"https://api.github.com/repos/Khan/KaTeX/comments{/number}","issue_comment_url":"https://api.github.com/repos/Khan/KaTeX/issues/comments{/number}","contents_url":"https://api.github.com/repos/Khan/KaTeX/contents/{+path}","compare_url":"https://api.github.com/repos/Khan/KaTeX/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Khan/KaTeX/merges","archive_url":"https://api.github.com/repos/Khan/KaTeX/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Khan/KaTeX/downloads","issues_url":"https://api.github.com/repos/Khan/KaTeX/issues{/number}","pulls_url":"https://api.github.com/repos/Khan/KaTeX/pulls{/number}","milestones_url":"https://api.github.com/repos/Khan/KaTeX/milestones{/number}","notifications_url":"https://api.github.com/repos/Khan/KaTeX/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Khan/KaTeX/labels{/name}","releases_url":"https://api.github.com/repos/Khan/KaTeX/releases{/id}","created_at":"2013-07-05T09:01:54Z","updated_at":"2015-07-08T19:13:01Z","pushed_at":"2015-07-09T00:23:40Z","git_url":"git://github.com/Khan/KaTeX.git","ssh_url":"git@github.com:Khan/KaTeX.git","clone_url":"https://github.com/Khan/KaTeX.git","svn_url":"https://github.com/Khan/KaTeX","homepage":"http://khan.github.io/KaTeX/","size":12463,"stargazers_count":3716,"watchers_count":3716,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":199,"mirror_url":null,"open_issues_count":93,"forks":199,"open_issues":93,"watchers":3716,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/290"},"html":{"href":"https://github.com/Khan/KaTeX/pull/290"},"issue":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/290"},"comments":{"href":"https://api.github.com/repos/Khan/KaTeX/issues/290/comments"},"review_comments":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/290/comments"},"review_comment":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Khan/KaTeX/pulls/290/commits"},"statuses":{"href":"https://api.github.com/repos/Khan/KaTeX/statuses/abc370909ea77a45ea1dc34a2b155d80d0ce0c20"}}}}