{"action":"created","issue":{"url":"https://api.github.com/repos/arachnys/athenapdf/issues/67","repository_url":"https://api.github.com/repos/arachnys/athenapdf","labels_url":"https://api.github.com/repos/arachnys/athenapdf/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/arachnys/athenapdf/issues/67/comments","events_url":"https://api.github.com/repos/arachnys/athenapdf/issues/67/events","html_url":"https://github.com/arachnys/athenapdf/issues/67","id":178611852,"number":67,"title":"Brainstorm: new convertion backend for weasyprint","user":{"login":"flaviamissi","id":444856,"avatar_url":"https://avatars.githubusercontent.com/u/444856?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviamissi","html_url":"https://github.com/flaviamissi","followers_url":"https://api.github.com/users/flaviamissi/followers","following_url":"https://api.github.com/users/flaviamissi/following{/other_user}","gists_url":"https://api.github.com/users/flaviamissi/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviamissi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviamissi/subscriptions","organizations_url":"https://api.github.com/users/flaviamissi/orgs","repos_url":"https://api.github.com/users/flaviamissi/repos","events_url":"https://api.github.com/users/flaviamissi/events{/privacy}","received_events_url":"https://api.github.com/users/flaviamissi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arachnys/athenapdf/labels/weaver","name":"weaver","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T13:36:57Z","updated_at":"2016-09-22T13:53:01Z","closed_at":null,"body":"http://weasyprint.readthedocs.io/en/latest/#\r\n\r\nA little about the service:\r\n>WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made available under a BSD license.\r\n\r\n>It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.\r\n\r\nBackground:\r\n\r\nI've been trying to convert a not so straight forward html to pdf using the [css3 specification for paged media](https://www.w3.org/TR/css3-page/). The specification is great, everything I need is covered there, the problem is that it doesn't work ATM with Athena's engine (webkit if I'm not mistaken?).\r\n\r\nAthena has been of great use for our organisation, but this is something we really need support for.\r\n\r\nI noticed that on #42 someone is also reporting sort of the same problem.\r\n\r\nAdditionally, I'm willing to help implement this if there's interest on doing so from your side.\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/arachnys/athenapdf/issues/comments/248909624","html_url":"https://github.com/arachnys/athenapdf/issues/67#issuecomment-248909624","issue_url":"https://api.github.com/repos/arachnys/athenapdf/issues/67","id":248909624,"user":{"login":"MrSaints","id":68859,"avatar_url":"https://avatars.githubusercontent.com/u/68859?v=3","gravatar_id":"","url":"https://api.github.com/users/MrSaints","html_url":"https://github.com/MrSaints","followers_url":"https://api.github.com/users/MrSaints/followers","following_url":"https://api.github.com/users/MrSaints/following{/other_user}","gists_url":"https://api.github.com/users/MrSaints/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSaints/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSaints/subscriptions","organizations_url":"https://api.github.com/users/MrSaints/orgs","repos_url":"https://api.github.com/users/MrSaints/repos","events_url":"https://api.github.com/users/MrSaints/events{/privacy}","received_events_url":"https://api.github.com/users/MrSaints/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T13:53:01Z","updated_at":"2016-09-22T13:53:01Z","body":"It's running on Blink, a fork of WebKit. But yes, it does not support paged media, and I [highly doubt](https://bugs.chromium.org/p/chromium/issues/detail?id=368053) it'll be supported for the next year or so at the very least. \r\n\r\nI've been meaning to refactor the backend part of Weaver for quite some time now so that it'll be much easier for the service to be extended (not just for WeasyPrint).\r\n\r\nProblem is, since it is packaged as a Docker image, I'm unsure what's the best approach to take without polluting / bloating it.\r\n\r\nI was considering breaking the service image (Weaver) further so that it runs local backends in containers (by calling [Docker inside Docker](https://github.com/MrSaints/go-conception)). But at the same time, this might complicate deployment.\r\n\r\nThen again, the solution might just be as simple as creating multiple images for different combination of popular backends.\r\n\r\nThere's also the matter of reconciling the different conversion arguments / options across backends. \r\n"}}
{"actor":{"display_login":"MrSaints"}}