{"action":"opened","number":122,"pull_request":{"url":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/122","id":96391692,"html_url":"https://github.com/exupero/saveSvgAsPng/pull/122","diff_url":"https://github.com/exupero/saveSvgAsPng/pull/122.diff","patch_url":"https://github.com/exupero/saveSvgAsPng/pull/122.patch","issue_url":"https://api.github.com/repos/exupero/saveSvgAsPng/issues/122","number":122,"state":"open","locked":false,"title":"Primitive inlining of custom fonts","user":{"login":"anvaka","id":225407,"avatar_url":"https://avatars.githubusercontent.com/u/225407?v=3","gravatar_id":"","url":"https://api.github.com/users/anvaka","html_url":"https://github.com/anvaka","followers_url":"https://api.github.com/users/anvaka/followers","following_url":"https://api.github.com/users/anvaka/following{/other_user}","gists_url":"https://api.github.com/users/anvaka/gists{/gist_id}","starred_url":"https://api.github.com/users/anvaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anvaka/subscriptions","organizations_url":"https://api.github.com/users/anvaka/orgs","repos_url":"https://api.github.com/users/anvaka/repos","events_url":"https://api.github.com/users/anvaka/events{/privacy}","received_events_url":"https://api.github.com/users/anvaka/received_events","type":"User","site_admin":false},"body":"I saw a few bugs for the custom fonts inlining and one PR: https://github.com/exupero/saveSvgAsPng/pull/29 \r\n\r\nIn this change I'm loading fonts asynchronously. The custom fonts need way more care than I have time now, but I was hoping this could be a good start.\r\n\r\nYou can find working demo here: https://anvaka.github.io/saveSvgAsPng/ - if you don't immediately see custom fonts loaded - try clicking on \"Save as PNG\" button - it should work there.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/225407/20858105/7802fc1e-b8f1-11e6-9aed-db884869f26c.png)\r\n\r\nThere are plenty things to do to make this fix production quality, and I left a few TODOs there. Hope someone will find it useful.","created_at":"2016-12-03T08:45:22Z","updated_at":"2016-12-03T08:45:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/122/commits","review_comments_url":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/122/comments","review_comment_url":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exupero/saveSvgAsPng/issues/122/comments","statuses_url":"https://api.github.com/repos/exupero/saveSvgAsPng/statuses/616ffdf09122c171115a86d9dada5ad6ec97f916","head":{"label":"anvaka:gh-pages","ref":"gh-pages","sha":"616ffdf09122c171115a86d9dada5ad6ec97f916","user":{"login":"anvaka","id":225407,"avatar_url":"https://avatars.githubusercontent.com/u/225407?v=3","gravatar_id":"","url":"https://api.github.com/users/anvaka","html_url":"https://github.com/anvaka","followers_url":"https://api.github.com/users/anvaka/followers","following_url":"https://api.github.com/users/anvaka/following{/other_user}","gists_url":"https://api.github.com/users/anvaka/gists{/gist_id}","starred_url":"https://api.github.com/users/anvaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anvaka/subscriptions","organizations_url":"https://api.github.com/users/anvaka/orgs","repos_url":"https://api.github.com/users/anvaka/repos","events_url":"https://api.github.com/users/anvaka/events{/privacy}","received_events_url":"https://api.github.com/users/anvaka/received_events","type":"User","site_admin":false},"repo":{"id":75456434,"name":"saveSvgAsPng","full_name":"anvaka/saveSvgAsPng","owner":{"login":"anvaka","id":225407,"avatar_url":"https://avatars.githubusercontent.com/u/225407?v=3","gravatar_id":"","url":"https://api.github.com/users/anvaka","html_url":"https://github.com/anvaka","followers_url":"https://api.github.com/users/anvaka/followers","following_url":"https://api.github.com/users/anvaka/following{/other_user}","gists_url":"https://api.github.com/users/anvaka/gists{/gist_id}","starred_url":"https://api.github.com/users/anvaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anvaka/subscriptions","organizations_url":"https://api.github.com/users/anvaka/orgs","repos_url":"https://api.github.com/users/anvaka/repos","events_url":"https://api.github.com/users/anvaka/events{/privacy}","received_events_url":"https://api.github.com/users/anvaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anvaka/saveSvgAsPng","description":"Save SVGs as PNGs from the browser.","fork":true,"url":"https://api.github.com/repos/anvaka/saveSvgAsPng","forks_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/forks","keys_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/teams","hooks_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/hooks","issue_events_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/issues/events{/number}","events_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/events","assignees_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/assignees{/user}","branches_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/branches{/branch}","tags_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/tags","blobs_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/git/refs{/sha}","trees_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/statuses/{sha}","languages_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/languages","stargazers_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/stargazers","contributors_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/contributors","subscribers_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/subscribers","subscription_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/subscription","commits_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/commits{/sha}","git_commits_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/git/commits{/sha}","comments_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/comments{/number}","issue_comment_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/issues/comments{/number}","contents_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/contents/{+path}","compare_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/merges","archive_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/downloads","issues_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/issues{/number}","pulls_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/pulls{/number}","milestones_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/milestones{/number}","notifications_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/labels{/name}","releases_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/releases{/id}","deployments_url":"https://api.github.com/repos/anvaka/saveSvgAsPng/deployments","created_at":"2016-12-03T06:29:59Z","updated_at":"2016-12-03T06:30:01Z","pushed_at":"2016-12-03T08:37:45Z","git_url":"git://github.com/anvaka/saveSvgAsPng.git","ssh_url":"git@github.com:anvaka/saveSvgAsPng.git","clone_url":"https://github.com/anvaka/saveSvgAsPng.git","svn_url":"https://github.com/anvaka/saveSvgAsPng","homepage":null,"size":197,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"exupero:gh-pages","ref":"gh-pages","sha":"3478b865304ff62d2316e663f928902d8eca8a2c","user":{"login":"exupero","id":287159,"avatar_url":"https://avatars.githubusercontent.com/u/287159?v=3","gravatar_id":"","url":"https://api.github.com/users/exupero","html_url":"https://github.com/exupero","followers_url":"https://api.github.com/users/exupero/followers","following_url":"https://api.github.com/users/exupero/following{/other_user}","gists_url":"https://api.github.com/users/exupero/gists{/gist_id}","starred_url":"https://api.github.com/users/exupero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exupero/subscriptions","organizations_url":"https://api.github.com/users/exupero/orgs","repos_url":"https://api.github.com/users/exupero/repos","events_url":"https://api.github.com/users/exupero/events{/privacy}","received_events_url":"https://api.github.com/users/exupero/received_events","type":"User","site_admin":false},"repo":{"id":15477448,"name":"saveSvgAsPng","full_name":"exupero/saveSvgAsPng","owner":{"login":"exupero","id":287159,"avatar_url":"https://avatars.githubusercontent.com/u/287159?v=3","gravatar_id":"","url":"https://api.github.com/users/exupero","html_url":"https://github.com/exupero","followers_url":"https://api.github.com/users/exupero/followers","following_url":"https://api.github.com/users/exupero/following{/other_user}","gists_url":"https://api.github.com/users/exupero/gists{/gist_id}","starred_url":"https://api.github.com/users/exupero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exupero/subscriptions","organizations_url":"https://api.github.com/users/exupero/orgs","repos_url":"https://api.github.com/users/exupero/repos","events_url":"https://api.github.com/users/exupero/events{/privacy}","received_events_url":"https://api.github.com/users/exupero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/exupero/saveSvgAsPng","description":"Save SVGs as PNGs from the browser.","fork":false,"url":"https://api.github.com/repos/exupero/saveSvgAsPng","forks_url":"https://api.github.com/repos/exupero/saveSvgAsPng/forks","keys_url":"https://api.github.com/repos/exupero/saveSvgAsPng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exupero/saveSvgAsPng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exupero/saveSvgAsPng/teams","hooks_url":"https://api.github.com/repos/exupero/saveSvgAsPng/hooks","issue_events_url":"https://api.github.com/repos/exupero/saveSvgAsPng/issues/events{/number}","events_url":"https://api.github.com/repos/exupero/saveSvgAsPng/events","assignees_url":"https://api.github.com/repos/exupero/saveSvgAsPng/assignees{/user}","branches_url":"https://api.github.com/repos/exupero/saveSvgAsPng/branches{/branch}","tags_url":"https://api.github.com/repos/exupero/saveSvgAsPng/tags","blobs_url":"https://api.github.com/repos/exupero/saveSvgAsPng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exupero/saveSvgAsPng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exupero/saveSvgAsPng/git/refs{/sha}","trees_url":"https://api.github.com/repos/exupero/saveSvgAsPng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exupero/saveSvgAsPng/statuses/{sha}","languages_url":"https://api.github.com/repos/exupero/saveSvgAsPng/languages","stargazers_url":"https://api.github.com/repos/exupero/saveSvgAsPng/stargazers","contributors_url":"https://api.github.com/repos/exupero/saveSvgAsPng/contributors","subscribers_url":"https://api.github.com/repos/exupero/saveSvgAsPng/subscribers","subscription_url":"https://api.github.com/repos/exupero/saveSvgAsPng/subscription","commits_url":"https://api.github.com/repos/exupero/saveSvgAsPng/commits{/sha}","git_commits_url":"https://api.github.com/repos/exupero/saveSvgAsPng/git/commits{/sha}","comments_url":"https://api.github.com/repos/exupero/saveSvgAsPng/comments{/number}","issue_comment_url":"https://api.github.com/repos/exupero/saveSvgAsPng/issues/comments{/number}","contents_url":"https://api.github.com/repos/exupero/saveSvgAsPng/contents/{+path}","compare_url":"https://api.github.com/repos/exupero/saveSvgAsPng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exupero/saveSvgAsPng/merges","archive_url":"https://api.github.com/repos/exupero/saveSvgAsPng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exupero/saveSvgAsPng/downloads","issues_url":"https://api.github.com/repos/exupero/saveSvgAsPng/issues{/number}","pulls_url":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls{/number}","milestones_url":"https://api.github.com/repos/exupero/saveSvgAsPng/milestones{/number}","notifications_url":"https://api.github.com/repos/exupero/saveSvgAsPng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exupero/saveSvgAsPng/labels{/name}","releases_url":"https://api.github.com/repos/exupero/saveSvgAsPng/releases{/id}","deployments_url":"https://api.github.com/repos/exupero/saveSvgAsPng/deployments","created_at":"2013-12-27T16:23:48Z","updated_at":"2016-12-02T12:55:20Z","pushed_at":"2016-12-03T08:45:23Z","git_url":"git://github.com/exupero/saveSvgAsPng.git","ssh_url":"git@github.com:exupero/saveSvgAsPng.git","clone_url":"https://github.com/exupero/saveSvgAsPng.git","svn_url":"https://github.com/exupero/saveSvgAsPng","homepage":null,"size":197,"stargazers_count":424,"watchers_count":424,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":134,"mirror_url":null,"open_issues_count":23,"forks":134,"open_issues":23,"watchers":424,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/122"},"html":{"href":"https://github.com/exupero/saveSvgAsPng/pull/122"},"issue":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/issues/122"},"comments":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/exupero/saveSvgAsPng/statuses/616ffdf09122c171115a86d9dada5ad6ec97f916"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":169,"deletions":20,"changed_files":2}}
{"actor":{"display_login":"anvaka"}}