{"action":"created","comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/pulls/comments/64450109","id":64450109,"diff_hunk":"@@ -169,6 +169,15 @@ def font_variant(self, font=None, size=None, index=None, encoding=None):\n                             encoding=self.encoding if encoding is None else\n                             encoding)\n \n+    def getBB( self, text ):","path":"PIL/ImageFont.py","position":4,"original_position":4,"commit_id":"ea526cb3844c24cd805b880cefc995e5cafaadae","original_commit_id":"599c3d06a031bb0edc6a94ce6b3cc3ff25ea0233","user":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"body":"bbox is a good compromise for bounding box and is already used elsewhere in the codebase.","created_at":"2016-05-24T18:38:16Z","updated_at":"2016-05-24T18:38:16Z","html_url":"https://github.com/python-pillow/Pillow/pull/1915#discussion_r64450109","pull_request_url":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915","_links":{"self":{"href":"https://api.github.com/repos/python-pillow/Pillow/pulls/comments/64450109"},"html":{"href":"https://github.com/python-pillow/Pillow/pull/1915#discussion_r64450109"},"pull_request":{"href":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915"}}},"pull_request":{"url":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915","id":70782073,"html_url":"https://github.com/python-pillow/Pillow/pull/1915","diff_url":"https://github.com/python-pillow/Pillow/pull/1915.diff","patch_url":"https://github.com/python-pillow/Pillow/pull/1915.patch","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1915","number":1915,"state":"open","locked":false,"title":"issue-1660 Text positioning fixes for odd fonts","user":{"login":"MicahChambers","id":1171254,"avatar_url":"https://avatars.githubusercontent.com/u/1171254?v=3","gravatar_id":"","url":"https://api.github.com/users/MicahChambers","html_url":"https://github.com/MicahChambers","followers_url":"https://api.github.com/users/MicahChambers/followers","following_url":"https://api.github.com/users/MicahChambers/following{/other_user}","gists_url":"https://api.github.com/users/MicahChambers/gists{/gist_id}","starred_url":"https://api.github.com/users/MicahChambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicahChambers/subscriptions","organizations_url":"https://api.github.com/users/MicahChambers/orgs","repos_url":"https://api.github.com/users/MicahChambers/repos","events_url":"https://api.github.com/users/MicahChambers/events{/privacy}","received_events_url":"https://api.github.com/users/MicahChambers/received_events","type":"User","site_admin":false},"body":"PR for https://github.com/python-pillow/Pillow/issues/1660","created_at":"2016-05-19T23:34:22Z","updated_at":"2016-05-24T18:38:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2566d96fdf562e8647d504e380a1741a0289a70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915/commits","review_comments_url":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915/comments","review_comment_url":"https://api.github.com/repos/python-pillow/Pillow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1915/comments","statuses_url":"https://api.github.com/repos/python-pillow/Pillow/statuses/ea526cb3844c24cd805b880cefc995e5cafaadae","head":{"label":"MicahChambers:issue-1660-text-bb","ref":"issue-1660-text-bb","sha":"ea526cb3844c24cd805b880cefc995e5cafaadae","user":{"login":"MicahChambers","id":1171254,"avatar_url":"https://avatars.githubusercontent.com/u/1171254?v=3","gravatar_id":"","url":"https://api.github.com/users/MicahChambers","html_url":"https://github.com/MicahChambers","followers_url":"https://api.github.com/users/MicahChambers/followers","following_url":"https://api.github.com/users/MicahChambers/following{/other_user}","gists_url":"https://api.github.com/users/MicahChambers/gists{/gist_id}","starred_url":"https://api.github.com/users/MicahChambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicahChambers/subscriptions","organizations_url":"https://api.github.com/users/MicahChambers/orgs","repos_url":"https://api.github.com/users/MicahChambers/repos","events_url":"https://api.github.com/users/MicahChambers/events{/privacy}","received_events_url":"https://api.github.com/users/MicahChambers/received_events","type":"User","site_admin":false},"repo":{"id":59249860,"name":"Pillow","full_name":"MicahChambers/Pillow","owner":{"login":"MicahChambers","id":1171254,"avatar_url":"https://avatars.githubusercontent.com/u/1171254?v=3","gravatar_id":"","url":"https://api.github.com/users/MicahChambers","html_url":"https://github.com/MicahChambers","followers_url":"https://api.github.com/users/MicahChambers/followers","following_url":"https://api.github.com/users/MicahChambers/following{/other_user}","gists_url":"https://api.github.com/users/MicahChambers/gists{/gist_id}","starred_url":"https://api.github.com/users/MicahChambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MicahChambers/subscriptions","organizations_url":"https://api.github.com/users/MicahChambers/orgs","repos_url":"https://api.github.com/users/MicahChambers/repos","events_url":"https://api.github.com/users/MicahChambers/events{/privacy}","received_events_url":"https://api.github.com/users/MicahChambers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MicahChambers/Pillow","description":"The friendly PIL fork (Python Imaging Library)","fork":true,"url":"https://api.github.com/repos/MicahChambers/Pillow","forks_url":"https://api.github.com/repos/MicahChambers/Pillow/forks","keys_url":"https://api.github.com/repos/MicahChambers/Pillow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MicahChambers/Pillow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MicahChambers/Pillow/teams","hooks_url":"https://api.github.com/repos/MicahChambers/Pillow/hooks","issue_events_url":"https://api.github.com/repos/MicahChambers/Pillow/issues/events{/number}","events_url":"https://api.github.com/repos/MicahChambers/Pillow/events","assignees_url":"https://api.github.com/repos/MicahChambers/Pillow/assignees{/user}","branches_url":"https://api.github.com/repos/MicahChambers/Pillow/branches{/branch}","tags_url":"https://api.github.com/repos/MicahChambers/Pillow/tags","blobs_url":"https://api.github.com/repos/MicahChambers/Pillow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MicahChambers/Pillow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MicahChambers/Pillow/git/refs{/sha}","trees_url":"https://api.github.com/repos/MicahChambers/Pillow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MicahChambers/Pillow/statuses/{sha}","languages_url":"https://api.github.com/repos/MicahChambers/Pillow/languages","stargazers_url":"https://api.github.com/repos/MicahChambers/Pillow/stargazers","contributors_url":"https://api.github.com/repos/MicahChambers/Pillow/contributors","subscribers_url":"https://api.github.com/repos/MicahChambers/Pillow/subscribers","subscription_url":"https://api.github.com/repos/MicahChambers/Pillow/subscription","commits_url":"https://api.github.com/repos/MicahChambers/Pillow/commits{/sha}","git_commits_url":"https://api.github.com/repos/MicahChambers/Pillow/git/commits{/sha}","comments_url":"https://api.github.com/repos/MicahChambers/Pillow/comments{/number}","issue_comment_url":"https://api.github.com/repos/MicahChambers/Pillow/issues/comments{/number}","contents_url":"https://api.github.com/repos/MicahChambers/Pillow/contents/{+path}","compare_url":"https://api.github.com/repos/MicahChambers/Pillow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MicahChambers/Pillow/merges","archive_url":"https://api.github.com/repos/MicahChambers/Pillow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MicahChambers/Pillow/downloads","issues_url":"https://api.github.com/repos/MicahChambers/Pillow/issues{/number}","pulls_url":"https://api.github.com/repos/MicahChambers/Pillow/pulls{/number}","milestones_url":"https://api.github.com/repos/MicahChambers/Pillow/milestones{/number}","notifications_url":"https://api.github.com/repos/MicahChambers/Pillow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MicahChambers/Pillow/labels{/name}","releases_url":"https://api.github.com/repos/MicahChambers/Pillow/releases{/id}","deployments_url":"https://api.github.com/repos/MicahChambers/Pillow/deployments","created_at":"2016-05-19T23:22:53Z","updated_at":"2016-05-19T23:22:55Z","pushed_at":"2016-05-24T15:57:45Z","git_url":"git://github.com/MicahChambers/Pillow.git","ssh_url":"git@github.com:MicahChambers/Pillow.git","clone_url":"https://github.com/MicahChambers/Pillow.git","svn_url":"https://github.com/MicahChambers/Pillow","homepage":"http://python-pillow.org","size":17965,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"python-pillow:master","ref":"master","sha":"547794157c27f66523c21fdc7ed958652320a1b6","user":{"login":"python-pillow","id":2036701,"avatar_url":"https://avatars.githubusercontent.com/u/2036701?v=3","gravatar_id":"","url":"https://api.github.com/users/python-pillow","html_url":"https://github.com/python-pillow","followers_url":"https://api.github.com/users/python-pillow/followers","following_url":"https://api.github.com/users/python-pillow/following{/other_user}","gists_url":"https://api.github.com/users/python-pillow/gists{/gist_id}","starred_url":"https://api.github.com/users/python-pillow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-pillow/subscriptions","organizations_url":"https://api.github.com/users/python-pillow/orgs","repos_url":"https://api.github.com/users/python-pillow/repos","events_url":"https://api.github.com/users/python-pillow/events{/privacy}","received_events_url":"https://api.github.com/users/python-pillow/received_events","type":"Organization","site_admin":false},"repo":{"id":5171600,"name":"Pillow","full_name":"python-pillow/Pillow","owner":{"login":"python-pillow","id":2036701,"avatar_url":"https://avatars.githubusercontent.com/u/2036701?v=3","gravatar_id":"","url":"https://api.github.com/users/python-pillow","html_url":"https://github.com/python-pillow","followers_url":"https://api.github.com/users/python-pillow/followers","following_url":"https://api.github.com/users/python-pillow/following{/other_user}","gists_url":"https://api.github.com/users/python-pillow/gists{/gist_id}","starred_url":"https://api.github.com/users/python-pillow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-pillow/subscriptions","organizations_url":"https://api.github.com/users/python-pillow/orgs","repos_url":"https://api.github.com/users/python-pillow/repos","events_url":"https://api.github.com/users/python-pillow/events{/privacy}","received_events_url":"https://api.github.com/users/python-pillow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python-pillow/Pillow","description":"The friendly PIL fork (Python Imaging Library)","fork":false,"url":"https://api.github.com/repos/python-pillow/Pillow","forks_url":"https://api.github.com/repos/python-pillow/Pillow/forks","keys_url":"https://api.github.com/repos/python-pillow/Pillow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-pillow/Pillow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-pillow/Pillow/teams","hooks_url":"https://api.github.com/repos/python-pillow/Pillow/hooks","issue_events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/events{/number}","events_url":"https://api.github.com/repos/python-pillow/Pillow/events","assignees_url":"https://api.github.com/repos/python-pillow/Pillow/assignees{/user}","branches_url":"https://api.github.com/repos/python-pillow/Pillow/branches{/branch}","tags_url":"https://api.github.com/repos/python-pillow/Pillow/tags","blobs_url":"https://api.github.com/repos/python-pillow/Pillow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-pillow/Pillow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-pillow/Pillow/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-pillow/Pillow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-pillow/Pillow/statuses/{sha}","languages_url":"https://api.github.com/repos/python-pillow/Pillow/languages","stargazers_url":"https://api.github.com/repos/python-pillow/Pillow/stargazers","contributors_url":"https://api.github.com/repos/python-pillow/Pillow/contributors","subscribers_url":"https://api.github.com/repos/python-pillow/Pillow/subscribers","subscription_url":"https://api.github.com/repos/python-pillow/Pillow/subscription","commits_url":"https://api.github.com/repos/python-pillow/Pillow/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-pillow/Pillow/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-pillow/Pillow/contents/{+path}","compare_url":"https://api.github.com/repos/python-pillow/Pillow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-pillow/Pillow/merges","archive_url":"https://api.github.com/repos/python-pillow/Pillow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-pillow/Pillow/downloads","issues_url":"https://api.github.com/repos/python-pillow/Pillow/issues{/number}","pulls_url":"https://api.github.com/repos/python-pillow/Pillow/pulls{/number}","milestones_url":"https://api.github.com/repos/python-pillow/Pillow/milestones{/number}","notifications_url":"https://api.github.com/repos/python-pillow/Pillow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-pillow/Pillow/labels{/name}","releases_url":"https://api.github.com/repos/python-pillow/Pillow/releases{/id}","deployments_url":"https://api.github.com/repos/python-pillow/Pillow/deployments","created_at":"2012-07-24T21:38:39Z","updated_at":"2016-05-24T15:33:34Z","pushed_at":"2016-05-24T15:57:46Z","git_url":"git://github.com/python-pillow/Pillow.git","ssh_url":"git@github.com:python-pillow/Pillow.git","clone_url":"https://github.com/python-pillow/Pillow.git","svn_url":"https://github.com/python-pillow/Pillow","homepage":"http://python-pillow.org","size":24831,"stargazers_count":2493,"watchers_count":2493,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":542,"mirror_url":null,"open_issues_count":174,"forks":542,"open_issues":174,"watchers":2493,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915"},"html":{"href":"https://github.com/python-pillow/Pillow/pull/1915"},"issue":{"href":"https://api.github.com/repos/python-pillow/Pillow/issues/1915"},"comments":{"href":"https://api.github.com/repos/python-pillow/Pillow/issues/1915/comments"},"review_comments":{"href":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915/comments"},"review_comment":{"href":"https://api.github.com/repos/python-pillow/Pillow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python-pillow/Pillow/pulls/1915/commits"},"statuses":{"href":"https://api.github.com/repos/python-pillow/Pillow/statuses/ea526cb3844c24cd805b880cefc995e5cafaadae"}}}}
{"actor":{"display_login":"hugovk"}}