{"action":"created","issue":{"url":"https://api.github.com/repos/global-asp/global-asp/issues/9","labels_url":"https://api.github.com/repos/global-asp/global-asp/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/global-asp/global-asp/issues/9/comments","events_url":"https://api.github.com/repos/global-asp/global-asp/issues/9/events","html_url":"https://github.com/global-asp/global-asp/issues/9","id":122198143,"number":9,"title":"PDF cover margins","user":{"login":"dohliam","id":9295750,"avatar_url":"https://avatars.githubusercontent.com/u/9295750?v=3","gravatar_id":"","url":"https://api.github.com/users/dohliam","html_url":"https://github.com/dohliam","followers_url":"https://api.github.com/users/dohliam/followers","following_url":"https://api.github.com/users/dohliam/following{/other_user}","gists_url":"https://api.github.com/users/dohliam/gists{/gist_id}","starred_url":"https://api.github.com/users/dohliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohliam/subscriptions","organizations_url":"https://api.github.com/users/dohliam/orgs","repos_url":"https://api.github.com/users/dohliam/repos","events_url":"https://api.github.com/users/dohliam/events{/privacy}","received_events_url":"https://api.github.com/users/dohliam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T05:43:03Z","updated_at":"2015-12-15T05:47:58Z","closed_at":"2015-12-15T05:47:58Z","body":"As reported by @espensj, the generated PDF cover margins do not reach the edge of the page as they do with the original PDFs from ASP. As a result, there is a large amount of whitespace between the cover background colour and the sides of the page. This should be fixed."},"comment":{"url":"https://api.github.com/repos/global-asp/global-asp/issues/comments/164650602","html_url":"https://github.com/global-asp/global-asp/issues/9#issuecomment-164650602","issue_url":"https://api.github.com/repos/global-asp/global-asp/issues/9","id":164650602,"user":{"login":"dohliam","id":9295750,"avatar_url":"https://avatars.githubusercontent.com/u/9295750?v=3","gravatar_id":"","url":"https://api.github.com/users/dohliam","html_url":"https://github.com/dohliam","followers_url":"https://api.github.com/users/dohliam/followers","following_url":"https://api.github.com/users/dohliam/following{/other_user}","gists_url":"https://api.github.com/users/dohliam/gists{/gist_id}","starred_url":"https://api.github.com/users/dohliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohliam/subscriptions","organizations_url":"https://api.github.com/users/dohliam/orgs","repos_url":"https://api.github.com/users/dohliam/repos","events_url":"https://api.github.com/users/dohliam/events{/privacy}","received_events_url":"https://api.github.com/users/dohliam/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T05:47:58Z","updated_at":"2015-12-15T05:47:58Z","body":"This is an issue with [wkhtmltopdf](https://github.com/wkhtmltopdf/wkhtmltopdf), which is being used to generate the pdfs.\r\n\r\nIt is possible to reduce the margins to zero on all sides of the cover page (with the exception of a tiny amount of whitespace at the bottom of the page) by adjusting the margins in css and running wkhtmltopdf with the following parameters: `-O Landscape -T 0 -B 0 -L 0 -R 0`.\r\n\r\nThis creates a new problem in that the margins for all the remaining pages are now set to 0 as well, however this problem can be fixed by adding extra padding to the page-break css so it affects only the remainder of the document and not the cover page.\r\n\r\nUnless someone can figure out how to remove the final white line at the bottom of the cover page (which I think we can live with), I will consider this issue fixed."}}