{"action":"closed","number":83,"pull_request":{"url":"https://api.github.com/repos/smalot/pdfparser/pulls/83","id":45891704,"html_url":"https://github.com/smalot/pdfparser/pull/83","diff_url":"https://github.com/smalot/pdfparser/pull/83.diff","patch_url":"https://github.com/smalot/pdfparser/pull/83.patch","issue_url":"https://api.github.com/repos/smalot/pdfparser/issues/83","number":83,"state":"closed","locked":false,"title":"Using the first font from the document as default font","user":{"login":"zCarot","id":184812,"avatar_url":"https://avatars.githubusercontent.com/u/184812?v=3","gravatar_id":"","url":"https://api.github.com/users/zCarot","html_url":"https://github.com/zCarot","followers_url":"https://api.github.com/users/zCarot/followers","following_url":"https://api.github.com/users/zCarot/following{/other_user}","gists_url":"https://api.github.com/users/zCarot/gists{/gist_id}","starred_url":"https://api.github.com/users/zCarot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zCarot/subscriptions","organizations_url":"https://api.github.com/users/zCarot/orgs","repos_url":"https://api.github.com/users/zCarot/repos","events_url":"https://api.github.com/users/zCarot/events{/privacy}","received_events_url":"https://api.github.com/users/zCarot/received_events","type":"User","site_admin":false},"body":"I have PDF from FastReport that can't be parsed with `new Font($this->document)`\r\nBut parser works fine with first font object included in PDF\r\n\r\nI know that is not best solution, but it's better than current blank font.\r\n\r\nP.S. If you need my pdf file for testing, I can send it privately as it contains personal information.\r\n\r\n","created_at":"2015-09-24T12:37:50Z","updated_at":"2016-04-05T09:05:30Z","closed_at":"2016-04-05T09:05:29Z","merged_at":null,"merge_commit_sha":"2fa0f62ca4a70d3c83215614b9c0d685effe7000","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smalot/pdfparser/pulls/83/commits","review_comments_url":"https://api.github.com/repos/smalot/pdfparser/pulls/83/comments","review_comment_url":"https://api.github.com/repos/smalot/pdfparser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smalot/pdfparser/issues/83/comments","statuses_url":"https://api.github.com/repos/smalot/pdfparser/statuses/495eff5397bc3e3307348981f44cee7ff5353e90","head":{"label":"zCarot:master","ref":"master","sha":"495eff5397bc3e3307348981f44cee7ff5353e90","user":{"login":"zCarot","id":184812,"avatar_url":"https://avatars.githubusercontent.com/u/184812?v=3","gravatar_id":"","url":"https://api.github.com/users/zCarot","html_url":"https://github.com/zCarot","followers_url":"https://api.github.com/users/zCarot/followers","following_url":"https://api.github.com/users/zCarot/following{/other_user}","gists_url":"https://api.github.com/users/zCarot/gists{/gist_id}","starred_url":"https://api.github.com/users/zCarot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zCarot/subscriptions","organizations_url":"https://api.github.com/users/zCarot/orgs","repos_url":"https://api.github.com/users/zCarot/repos","events_url":"https://api.github.com/users/zCarot/events{/privacy}","received_events_url":"https://api.github.com/users/zCarot/received_events","type":"User","site_admin":false},"repo":{"id":43065206,"name":"pdfparser","full_name":"zCarot/pdfparser","owner":{"login":"zCarot","id":184812,"avatar_url":"https://avatars.githubusercontent.com/u/184812?v=3","gravatar_id":"","url":"https://api.github.com/users/zCarot","html_url":"https://github.com/zCarot","followers_url":"https://api.github.com/users/zCarot/followers","following_url":"https://api.github.com/users/zCarot/following{/other_user}","gists_url":"https://api.github.com/users/zCarot/gists{/gist_id}","starred_url":"https://api.github.com/users/zCarot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zCarot/subscriptions","organizations_url":"https://api.github.com/users/zCarot/orgs","repos_url":"https://api.github.com/users/zCarot/repos","events_url":"https://api.github.com/users/zCarot/events{/privacy}","received_events_url":"https://api.github.com/users/zCarot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zCarot/pdfparser","description":"PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.","fork":true,"url":"https://api.github.com/repos/zCarot/pdfparser","forks_url":"https://api.github.com/repos/zCarot/pdfparser/forks","keys_url":"https://api.github.com/repos/zCarot/pdfparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zCarot/pdfparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zCarot/pdfparser/teams","hooks_url":"https://api.github.com/repos/zCarot/pdfparser/hooks","issue_events_url":"https://api.github.com/repos/zCarot/pdfparser/issues/events{/number}","events_url":"https://api.github.com/repos/zCarot/pdfparser/events","assignees_url":"https://api.github.com/repos/zCarot/pdfparser/assignees{/user}","branches_url":"https://api.github.com/repos/zCarot/pdfparser/branches{/branch}","tags_url":"https://api.github.com/repos/zCarot/pdfparser/tags","blobs_url":"https://api.github.com/repos/zCarot/pdfparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zCarot/pdfparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zCarot/pdfparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/zCarot/pdfparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zCarot/pdfparser/statuses/{sha}","languages_url":"https://api.github.com/repos/zCarot/pdfparser/languages","stargazers_url":"https://api.github.com/repos/zCarot/pdfparser/stargazers","contributors_url":"https://api.github.com/repos/zCarot/pdfparser/contributors","subscribers_url":"https://api.github.com/repos/zCarot/pdfparser/subscribers","subscription_url":"https://api.github.com/repos/zCarot/pdfparser/subscription","commits_url":"https://api.github.com/repos/zCarot/pdfparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/zCarot/pdfparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/zCarot/pdfparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/zCarot/pdfparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/zCarot/pdfparser/contents/{+path}","compare_url":"https://api.github.com/repos/zCarot/pdfparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zCarot/pdfparser/merges","archive_url":"https://api.github.com/repos/zCarot/pdfparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zCarot/pdfparser/downloads","issues_url":"https://api.github.com/repos/zCarot/pdfparser/issues{/number}","pulls_url":"https://api.github.com/repos/zCarot/pdfparser/pulls{/number}","milestones_url":"https://api.github.com/repos/zCarot/pdfparser/milestones{/number}","notifications_url":"https://api.github.com/repos/zCarot/pdfparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zCarot/pdfparser/labels{/name}","releases_url":"https://api.github.com/repos/zCarot/pdfparser/releases{/id}","deployments_url":"https://api.github.com/repos/zCarot/pdfparser/deployments","created_at":"2015-09-24T12:24:29Z","updated_at":"2015-09-24T12:24:31Z","pushed_at":"2015-09-29T06:35:33Z","git_url":"git://github.com/zCarot/pdfparser.git","ssh_url":"git@github.com:zCarot/pdfparser.git","clone_url":"https://github.com/zCarot/pdfparser.git","svn_url":"https://github.com/zCarot/pdfparser","homepage":"","size":39288,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"smalot:master","ref":"master","sha":"31590f7938a22f1c7fc4fb292611e3742a62ebaa","user":{"login":"smalot","id":1424035,"avatar_url":"https://avatars.githubusercontent.com/u/1424035?v=3","gravatar_id":"","url":"https://api.github.com/users/smalot","html_url":"https://github.com/smalot","followers_url":"https://api.github.com/users/smalot/followers","following_url":"https://api.github.com/users/smalot/following{/other_user}","gists_url":"https://api.github.com/users/smalot/gists{/gist_id}","starred_url":"https://api.github.com/users/smalot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smalot/subscriptions","organizations_url":"https://api.github.com/users/smalot/orgs","repos_url":"https://api.github.com/users/smalot/repos","events_url":"https://api.github.com/users/smalot/events{/privacy}","received_events_url":"https://api.github.com/users/smalot/received_events","type":"User","site_admin":false},"repo":{"id":12496360,"name":"pdfparser","full_name":"smalot/pdfparser","owner":{"login":"smalot","id":1424035,"avatar_url":"https://avatars.githubusercontent.com/u/1424035?v=3","gravatar_id":"","url":"https://api.github.com/users/smalot","html_url":"https://github.com/smalot","followers_url":"https://api.github.com/users/smalot/followers","following_url":"https://api.github.com/users/smalot/following{/other_user}","gists_url":"https://api.github.com/users/smalot/gists{/gist_id}","starred_url":"https://api.github.com/users/smalot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smalot/subscriptions","organizations_url":"https://api.github.com/users/smalot/orgs","repos_url":"https://api.github.com/users/smalot/repos","events_url":"https://api.github.com/users/smalot/events{/privacy}","received_events_url":"https://api.github.com/users/smalot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smalot/pdfparser","description":"PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.","fork":false,"url":"https://api.github.com/repos/smalot/pdfparser","forks_url":"https://api.github.com/repos/smalot/pdfparser/forks","keys_url":"https://api.github.com/repos/smalot/pdfparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smalot/pdfparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smalot/pdfparser/teams","hooks_url":"https://api.github.com/repos/smalot/pdfparser/hooks","issue_events_url":"https://api.github.com/repos/smalot/pdfparser/issues/events{/number}","events_url":"https://api.github.com/repos/smalot/pdfparser/events","assignees_url":"https://api.github.com/repos/smalot/pdfparser/assignees{/user}","branches_url":"https://api.github.com/repos/smalot/pdfparser/branches{/branch}","tags_url":"https://api.github.com/repos/smalot/pdfparser/tags","blobs_url":"https://api.github.com/repos/smalot/pdfparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smalot/pdfparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smalot/pdfparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/smalot/pdfparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smalot/pdfparser/statuses/{sha}","languages_url":"https://api.github.com/repos/smalot/pdfparser/languages","stargazers_url":"https://api.github.com/repos/smalot/pdfparser/stargazers","contributors_url":"https://api.github.com/repos/smalot/pdfparser/contributors","subscribers_url":"https://api.github.com/repos/smalot/pdfparser/subscribers","subscription_url":"https://api.github.com/repos/smalot/pdfparser/subscription","commits_url":"https://api.github.com/repos/smalot/pdfparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/smalot/pdfparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/smalot/pdfparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/smalot/pdfparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/smalot/pdfparser/contents/{+path}","compare_url":"https://api.github.com/repos/smalot/pdfparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smalot/pdfparser/merges","archive_url":"https://api.github.com/repos/smalot/pdfparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smalot/pdfparser/downloads","issues_url":"https://api.github.com/repos/smalot/pdfparser/issues{/number}","pulls_url":"https://api.github.com/repos/smalot/pdfparser/pulls{/number}","milestones_url":"https://api.github.com/repos/smalot/pdfparser/milestones{/number}","notifications_url":"https://api.github.com/repos/smalot/pdfparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smalot/pdfparser/labels{/name}","releases_url":"https://api.github.com/repos/smalot/pdfparser/releases{/id}","deployments_url":"https://api.github.com/repos/smalot/pdfparser/deployments","created_at":"2013-08-30T21:58:21Z","updated_at":"2016-04-01T05:20:02Z","pushed_at":"2016-04-05T08:19:41Z","git_url":"git://github.com/smalot/pdfparser.git","ssh_url":"git@github.com:smalot/pdfparser.git","clone_url":"https://github.com/smalot/pdfparser.git","svn_url":"https://github.com/smalot/pdfparser","homepage":"","size":39368,"stargazers_count":414,"watchers_count":414,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":142,"mirror_url":null,"open_issues_count":52,"forks":142,"open_issues":52,"watchers":414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smalot/pdfparser/pulls/83"},"html":{"href":"https://github.com/smalot/pdfparser/pull/83"},"issue":{"href":"https://api.github.com/repos/smalot/pdfparser/issues/83"},"comments":{"href":"https://api.github.com/repos/smalot/pdfparser/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/smalot/pdfparser/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/smalot/pdfparser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smalot/pdfparser/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/smalot/pdfparser/statuses/495eff5397bc3e3307348981f44cee7ff5353e90"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":21,"deletions":1,"changed_files":2}}