{"action":"closed","number":307,"pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/307","id":39105138,"html_url":"https://github.com/ResearchKit/ResearchKit/pull/307","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/307.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/307.patch","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/307","number":307,"state":"closed","locked":false,"title":"ORKHTMLPDFWriter generates an extra empty page when useMetric is true","user":{"login":"weijentu","id":8802123,"avatar_url":"https://avatars.githubusercontent.com/u/8802123?v=3","gravatar_id":"","url":"https://api.github.com/users/weijentu","html_url":"https://github.com/weijentu","followers_url":"https://api.github.com/users/weijentu/followers","following_url":"https://api.github.com/users/weijentu/following{/other_user}","gists_url":"https://api.github.com/users/weijentu/gists{/gist_id}","starred_url":"https://api.github.com/users/weijentu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijentu/subscriptions","organizations_url":"https://api.github.com/users/weijentu/orgs","repos_url":"https://api.github.com/users/weijentu/repos","events_url":"https://api.github.com/users/weijentu/events{/privacy}","received_events_url":"https://api.github.com/users/weijentu/received_events","type":"User","site_admin":false},"body":"When useMetric is true, ORKHTMLPDFWriter is going to generate an extra\r\nempty page before the signature page. Gaining little more pixels can\r\nomit this extra empty page.\r\n\r\nI also upload two output pdf files for quick references. The files are generated via ORKCatalog. Please note the page 3 of 4 is empty in A4 size while useMetric is true.\r\n\r\nExample Consent.pdf in letter size\r\nhttps://db.tt/EAHt9dMT\r\n\r\nExample Consent.pdf in A4 size\r\nhttps://db.tt/WV7LuDmS","created_at":"2015-07-02T17:10:07Z","updated_at":"2015-07-06T17:19:55Z","closed_at":"2015-07-06T17:19:55Z","merged_at":"2015-07-06T17:19:55Z","merge_commit_sha":"4b3f3d0c1cf76430d73611923af82c3f88e3374d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/307/commits","review_comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/307/comments","review_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/307/comments","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/679f8f7f6b20d283ed5e212daeb237b7e0873129","head":{"label":"weijentu:master","ref":"master","sha":"679f8f7f6b20d283ed5e212daeb237b7e0873129","user":{"login":"weijentu","id":8802123,"avatar_url":"https://avatars.githubusercontent.com/u/8802123?v=3","gravatar_id":"","url":"https://api.github.com/users/weijentu","html_url":"https://github.com/weijentu","followers_url":"https://api.github.com/users/weijentu/followers","following_url":"https://api.github.com/users/weijentu/following{/other_user}","gists_url":"https://api.github.com/users/weijentu/gists{/gist_id}","starred_url":"https://api.github.com/users/weijentu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijentu/subscriptions","organizations_url":"https://api.github.com/users/weijentu/orgs","repos_url":"https://api.github.com/users/weijentu/repos","events_url":"https://api.github.com/users/weijentu/events{/privacy}","received_events_url":"https://api.github.com/users/weijentu/received_events","type":"User","site_admin":false},"repo":{"id":38389833,"name":"ResearchKit","full_name":"weijentu/ResearchKit","owner":{"login":"weijentu","id":8802123,"avatar_url":"https://avatars.githubusercontent.com/u/8802123?v=3","gravatar_id":"","url":"https://api.github.com/users/weijentu","html_url":"https://github.com/weijentu","followers_url":"https://api.github.com/users/weijentu/followers","following_url":"https://api.github.com/users/weijentu/following{/other_user}","gists_url":"https://api.github.com/users/weijentu/gists{/gist_id}","starred_url":"https://api.github.com/users/weijentu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weijentu/subscriptions","organizations_url":"https://api.github.com/users/weijentu/orgs","repos_url":"https://api.github.com/users/weijentu/repos","events_url":"https://api.github.com/users/weijentu/events{/privacy}","received_events_url":"https://api.github.com/users/weijentu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/weijentu/ResearchKit","description":"ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.","fork":true,"url":"https://api.github.com/repos/weijentu/ResearchKit","forks_url":"https://api.github.com/repos/weijentu/ResearchKit/forks","keys_url":"https://api.github.com/repos/weijentu/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weijentu/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weijentu/ResearchKit/teams","hooks_url":"https://api.github.com/repos/weijentu/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/weijentu/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/weijentu/ResearchKit/events","assignees_url":"https://api.github.com/repos/weijentu/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/weijentu/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/weijentu/ResearchKit/tags","blobs_url":"https://api.github.com/repos/weijentu/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weijentu/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weijentu/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/weijentu/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weijentu/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/weijentu/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/weijentu/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/weijentu/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/weijentu/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/weijentu/ResearchKit/subscription","commits_url":"https://api.github.com/repos/weijentu/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/weijentu/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/weijentu/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/weijentu/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/weijentu/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/weijentu/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weijentu/ResearchKit/merges","archive_url":"https://api.github.com/repos/weijentu/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weijentu/ResearchKit/downloads","issues_url":"https://api.github.com/repos/weijentu/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/weijentu/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/weijentu/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/weijentu/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weijentu/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/weijentu/ResearchKit/releases{/id}","created_at":"2015-07-01T19:09:33Z","updated_at":"2015-07-01T19:09:35Z","pushed_at":"2015-07-02T22:13:31Z","git_url":"git://github.com/weijentu/ResearchKit.git","ssh_url":"git@github.com:weijentu/ResearchKit.git","clone_url":"https://github.com/weijentu/ResearchKit.git","svn_url":"https://github.com/weijentu/ResearchKit","homepage":"","size":14355,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"ResearchKit:master","ref":"master","sha":"e258f01e0aa7e449276edf7b6ba50ac79d7792d6","user":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"repo":{"id":31979038,"name":"ResearchKit","full_name":"ResearchKit/ResearchKit","owner":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ResearchKit/ResearchKit","description":"ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.","fork":false,"url":"https://api.github.com/repos/ResearchKit/ResearchKit","forks_url":"https://api.github.com/repos/ResearchKit/ResearchKit/forks","keys_url":"https://api.github.com/repos/ResearchKit/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ResearchKit/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ResearchKit/ResearchKit/teams","hooks_url":"https://api.github.com/repos/ResearchKit/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/events","assignees_url":"https://api.github.com/repos/ResearchKit/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/ResearchKit/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/ResearchKit/ResearchKit/tags","blobs_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/ResearchKit/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/ResearchKit/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/ResearchKit/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/ResearchKit/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/ResearchKit/ResearchKit/subscription","commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ResearchKit/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/ResearchKit/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ResearchKit/ResearchKit/merges","archive_url":"https://api.github.com/repos/ResearchKit/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ResearchKit/ResearchKit/downloads","issues_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/ResearchKit/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/ResearchKit/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ResearchKit/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/ResearchKit/ResearchKit/releases{/id}","created_at":"2015-03-10T20:05:32Z","updated_at":"2015-07-06T13:24:59Z","pushed_at":"2015-07-06T17:19:55Z","git_url":"git://github.com/ResearchKit/ResearchKit.git","ssh_url":"git@github.com:ResearchKit/ResearchKit.git","clone_url":"https://github.com/ResearchKit/ResearchKit.git","svn_url":"https://github.com/ResearchKit/ResearchKit","homepage":"","size":22342,"stargazers_count":3839,"watchers_count":3839,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":484,"mirror_url":null,"open_issues_count":40,"forks":484,"open_issues":40,"watchers":3839,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/307"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/307"},"issue":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/307"},"comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/307/comments"},"review_comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/307/comments"},"review_comment":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/307/commits"},"statuses":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/679f8f7f6b20d283ed5e212daeb237b7e0873129"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"YuanZhu-apple","id":11466704,"avatar_url":"https://avatars.githubusercontent.com/u/11466704?v=3","gravatar_id":"","url":"https://api.github.com/users/YuanZhu-apple","html_url":"https://github.com/YuanZhu-apple","followers_url":"https://api.github.com/users/YuanZhu-apple/followers","following_url":"https://api.github.com/users/YuanZhu-apple/following{/other_user}","gists_url":"https://api.github.com/users/YuanZhu-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/YuanZhu-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuanZhu-apple/subscriptions","organizations_url":"https://api.github.com/users/YuanZhu-apple/orgs","repos_url":"https://api.github.com/users/YuanZhu-apple/repos","events_url":"https://api.github.com/users/YuanZhu-apple/events{/privacy}","received_events_url":"https://api.github.com/users/YuanZhu-apple/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}