{"action":"opened","number":445,"pull_request":{"url":"https://api.github.com/repos/devongovett/pdfkit/pulls/445","id":50446934,"html_url":"https://github.com/devongovett/pdfkit/pull/445","diff_url":"https://github.com/devongovett/pdfkit/pull/445.diff","patch_url":"https://github.com/devongovett/pdfkit/pull/445.patch","issue_url":"https://api.github.com/repos/devongovett/pdfkit/issues/445","number":445,"state":"open","locked":false,"title":"add PDF horizontalScaling support for text","user":{"login":"djboulia","id":4660567,"avatar_url":"https://avatars.githubusercontent.com/u/4660567?v=3","gravatar_id":"","url":"https://api.github.com/users/djboulia","html_url":"https://github.com/djboulia","followers_url":"https://api.github.com/users/djboulia/followers","following_url":"https://api.github.com/users/djboulia/following{/other_user}","gists_url":"https://api.github.com/users/djboulia/gists{/gist_id}","starred_url":"https://api.github.com/users/djboulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djboulia/subscriptions","organizations_url":"https://api.github.com/users/djboulia/orgs","repos_url":"https://api.github.com/users/djboulia/repos","events_url":"https://api.github.com/users/djboulia/events{/privacy}","received_events_url":"https://api.github.com/users/djboulia/received_events","type":"User","site_admin":false},"body":"Adds the ability to scale text horizontally (the Tz text state operator in the PDF spec).  The horizontalScaling parameter can be passed as an option to the PDFKit text function.  This value represents a scaling factor which is then divided by 100 to give a scaling percentage.  The default value is 100 which does not scale the text; 50 would scale text to half its default width; 200 would scale to twice its default width, etc.  The glyphs themselves are scaled, which makes this different from the character spacing option.\r\n\r\nSee page 400 of the adobe spec for an example: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf ","created_at":"2015-11-11T22:39:41Z","updated_at":"2015-11-11T22:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/devongovett/pdfkit/pulls/445/commits","review_comments_url":"https://api.github.com/repos/devongovett/pdfkit/pulls/445/comments","review_comment_url":"https://api.github.com/repos/devongovett/pdfkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devongovett/pdfkit/issues/445/comments","statuses_url":"https://api.github.com/repos/devongovett/pdfkit/statuses/08b720e18ea47953b13e4b15ed6dc3a0e46718bb","head":{"label":"djboulia:master","ref":"master","sha":"08b720e18ea47953b13e4b15ed6dc3a0e46718bb","user":{"login":"djboulia","id":4660567,"avatar_url":"https://avatars.githubusercontent.com/u/4660567?v=3","gravatar_id":"","url":"https://api.github.com/users/djboulia","html_url":"https://github.com/djboulia","followers_url":"https://api.github.com/users/djboulia/followers","following_url":"https://api.github.com/users/djboulia/following{/other_user}","gists_url":"https://api.github.com/users/djboulia/gists{/gist_id}","starred_url":"https://api.github.com/users/djboulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djboulia/subscriptions","organizations_url":"https://api.github.com/users/djboulia/orgs","repos_url":"https://api.github.com/users/djboulia/repos","events_url":"https://api.github.com/users/djboulia/events{/privacy}","received_events_url":"https://api.github.com/users/djboulia/received_events","type":"User","site_admin":false},"repo":{"id":45465615,"name":"pdfkit","full_name":"djboulia/pdfkit","owner":{"login":"djboulia","id":4660567,"avatar_url":"https://avatars.githubusercontent.com/u/4660567?v=3","gravatar_id":"","url":"https://api.github.com/users/djboulia","html_url":"https://github.com/djboulia","followers_url":"https://api.github.com/users/djboulia/followers","following_url":"https://api.github.com/users/djboulia/following{/other_user}","gists_url":"https://api.github.com/users/djboulia/gists{/gist_id}","starred_url":"https://api.github.com/users/djboulia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djboulia/subscriptions","organizations_url":"https://api.github.com/users/djboulia/orgs","repos_url":"https://api.github.com/users/djboulia/repos","events_url":"https://api.github.com/users/djboulia/events{/privacy}","received_events_url":"https://api.github.com/users/djboulia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djboulia/pdfkit","description":"A JavaScript PDF generation library for Node and the browser","fork":true,"url":"https://api.github.com/repos/djboulia/pdfkit","forks_url":"https://api.github.com/repos/djboulia/pdfkit/forks","keys_url":"https://api.github.com/repos/djboulia/pdfkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djboulia/pdfkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djboulia/pdfkit/teams","hooks_url":"https://api.github.com/repos/djboulia/pdfkit/hooks","issue_events_url":"https://api.github.com/repos/djboulia/pdfkit/issues/events{/number}","events_url":"https://api.github.com/repos/djboulia/pdfkit/events","assignees_url":"https://api.github.com/repos/djboulia/pdfkit/assignees{/user}","branches_url":"https://api.github.com/repos/djboulia/pdfkit/branches{/branch}","tags_url":"https://api.github.com/repos/djboulia/pdfkit/tags","blobs_url":"https://api.github.com/repos/djboulia/pdfkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djboulia/pdfkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djboulia/pdfkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/djboulia/pdfkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djboulia/pdfkit/statuses/{sha}","languages_url":"https://api.github.com/repos/djboulia/pdfkit/languages","stargazers_url":"https://api.github.com/repos/djboulia/pdfkit/stargazers","contributors_url":"https://api.github.com/repos/djboulia/pdfkit/contributors","subscribers_url":"https://api.github.com/repos/djboulia/pdfkit/subscribers","subscription_url":"https://api.github.com/repos/djboulia/pdfkit/subscription","commits_url":"https://api.github.com/repos/djboulia/pdfkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/djboulia/pdfkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/djboulia/pdfkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/djboulia/pdfkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/djboulia/pdfkit/contents/{+path}","compare_url":"https://api.github.com/repos/djboulia/pdfkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djboulia/pdfkit/merges","archive_url":"https://api.github.com/repos/djboulia/pdfkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djboulia/pdfkit/downloads","issues_url":"https://api.github.com/repos/djboulia/pdfkit/issues{/number}","pulls_url":"https://api.github.com/repos/djboulia/pdfkit/pulls{/number}","milestones_url":"https://api.github.com/repos/djboulia/pdfkit/milestones{/number}","notifications_url":"https://api.github.com/repos/djboulia/pdfkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djboulia/pdfkit/labels{/name}","releases_url":"https://api.github.com/repos/djboulia/pdfkit/releases{/id}","created_at":"2015-11-03T12:40:28Z","updated_at":"2015-11-03T12:40:29Z","pushed_at":"2015-11-11T21:45:41Z","git_url":"git://github.com/djboulia/pdfkit.git","ssh_url":"git@github.com:djboulia/pdfkit.git","clone_url":"https://github.com/djboulia/pdfkit.git","svn_url":"https://github.com/djboulia/pdfkit","homepage":"http://pdfkit.org/","size":9912,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"master"}},"base":{"label":"devongovett:master","ref":"master","sha":"ae56acee5f48aec8fa6a4c2e9830bdb65eca4ba7","user":{"login":"devongovett","id":19409,"avatar_url":"https://avatars.githubusercontent.com/u/19409?v=3","gravatar_id":"","url":"https://api.github.com/users/devongovett","html_url":"https://github.com/devongovett","followers_url":"https://api.github.com/users/devongovett/followers","following_url":"https://api.github.com/users/devongovett/following{/other_user}","gists_url":"https://api.github.com/users/devongovett/gists{/gist_id}","starred_url":"https://api.github.com/users/devongovett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devongovett/subscriptions","organizations_url":"https://api.github.com/users/devongovett/orgs","repos_url":"https://api.github.com/users/devongovett/repos","events_url":"https://api.github.com/users/devongovett/events{/privacy}","received_events_url":"https://api.github.com/users/devongovett/received_events","type":"User","site_admin":false},"repo":{"id":2030956,"name":"pdfkit","full_name":"devongovett/pdfkit","owner":{"login":"devongovett","id":19409,"avatar_url":"https://avatars.githubusercontent.com/u/19409?v=3","gravatar_id":"","url":"https://api.github.com/users/devongovett","html_url":"https://github.com/devongovett","followers_url":"https://api.github.com/users/devongovett/followers","following_url":"https://api.github.com/users/devongovett/following{/other_user}","gists_url":"https://api.github.com/users/devongovett/gists{/gist_id}","starred_url":"https://api.github.com/users/devongovett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devongovett/subscriptions","organizations_url":"https://api.github.com/users/devongovett/orgs","repos_url":"https://api.github.com/users/devongovett/repos","events_url":"https://api.github.com/users/devongovett/events{/privacy}","received_events_url":"https://api.github.com/users/devongovett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/devongovett/pdfkit","description":"A JavaScript PDF generation library for Node and the browser","fork":false,"url":"https://api.github.com/repos/devongovett/pdfkit","forks_url":"https://api.github.com/repos/devongovett/pdfkit/forks","keys_url":"https://api.github.com/repos/devongovett/pdfkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devongovett/pdfkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devongovett/pdfkit/teams","hooks_url":"https://api.github.com/repos/devongovett/pdfkit/hooks","issue_events_url":"https://api.github.com/repos/devongovett/pdfkit/issues/events{/number}","events_url":"https://api.github.com/repos/devongovett/pdfkit/events","assignees_url":"https://api.github.com/repos/devongovett/pdfkit/assignees{/user}","branches_url":"https://api.github.com/repos/devongovett/pdfkit/branches{/branch}","tags_url":"https://api.github.com/repos/devongovett/pdfkit/tags","blobs_url":"https://api.github.com/repos/devongovett/pdfkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devongovett/pdfkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devongovett/pdfkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/devongovett/pdfkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devongovett/pdfkit/statuses/{sha}","languages_url":"https://api.github.com/repos/devongovett/pdfkit/languages","stargazers_url":"https://api.github.com/repos/devongovett/pdfkit/stargazers","contributors_url":"https://api.github.com/repos/devongovett/pdfkit/contributors","subscribers_url":"https://api.github.com/repos/devongovett/pdfkit/subscribers","subscription_url":"https://api.github.com/repos/devongovett/pdfkit/subscription","commits_url":"https://api.github.com/repos/devongovett/pdfkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/devongovett/pdfkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/devongovett/pdfkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/devongovett/pdfkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/devongovett/pdfkit/contents/{+path}","compare_url":"https://api.github.com/repos/devongovett/pdfkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devongovett/pdfkit/merges","archive_url":"https://api.github.com/repos/devongovett/pdfkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devongovett/pdfkit/downloads","issues_url":"https://api.github.com/repos/devongovett/pdfkit/issues{/number}","pulls_url":"https://api.github.com/repos/devongovett/pdfkit/pulls{/number}","milestones_url":"https://api.github.com/repos/devongovett/pdfkit/milestones{/number}","notifications_url":"https://api.github.com/repos/devongovett/pdfkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devongovett/pdfkit/labels{/name}","releases_url":"https://api.github.com/repos/devongovett/pdfkit/releases{/id}","created_at":"2011-07-11T15:12:29Z","updated_at":"2015-11-11T21:37:52Z","pushed_at":"2015-11-10T10:19:37Z","git_url":"git://github.com/devongovett/pdfkit.git","ssh_url":"git@github.com:devongovett/pdfkit.git","clone_url":"https://github.com/devongovett/pdfkit.git","svn_url":"https://github.com/devongovett/pdfkit","homepage":"http://pdfkit.org/","size":10095,"stargazers_count":2022,"watchers_count":2022,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":290,"mirror_url":null,"open_issues_count":95,"forks":290,"open_issues":95,"watchers":2022,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devongovett/pdfkit/pulls/445"},"html":{"href":"https://github.com/devongovett/pdfkit/pull/445"},"issue":{"href":"https://api.github.com/repos/devongovett/pdfkit/issues/445"},"comments":{"href":"https://api.github.com/repos/devongovett/pdfkit/issues/445/comments"},"review_comments":{"href":"https://api.github.com/repos/devongovett/pdfkit/pulls/445/comments"},"review_comment":{"href":"https://api.github.com/repos/devongovett/pdfkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devongovett/pdfkit/pulls/445/commits"},"statuses":{"href":"https://api.github.com/repos/devongovett/pdfkit/statuses/08b720e18ea47953b13e4b15ed6dc3a0e46718bb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":260,"deletions":11,"changed_files":3}}