{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2554","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2554/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2554/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2554/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2554","id":104503772,"number":2554,"title":"Help needed for alpine-wkhtmltopdf","user":{"login":"LoicMahieu","id":900947,"avatar_url":"https://avatars.githubusercontent.com/u/900947?v=3","gravatar_id":"","url":"https://api.github.com/users/LoicMahieu","html_url":"https://github.com/LoicMahieu","followers_url":"https://api.github.com/users/LoicMahieu/followers","following_url":"https://api.github.com/users/LoicMahieu/following{/other_user}","gists_url":"https://api.github.com/users/LoicMahieu/gists{/gist_id}","starred_url":"https://api.github.com/users/LoicMahieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoicMahieu/subscriptions","organizations_url":"https://api.github.com/users/LoicMahieu/orgs","repos_url":"https://api.github.com/users/LoicMahieu/repos","events_url":"https://api.github.com/users/LoicMahieu/events{/privacy}","received_events_url":"https://api.github.com/users/LoicMahieu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T15:13:35Z","updated_at":"2015-09-10T09:01:33Z","closed_at":null,"body":"I am currently trying to get `wkhtmltopdf` working on [Alpine Linux](http://www.alpinelinux.org/), specially in a Docker container.\r\nSource: https://github.com/LoicMahieu/alpine-wkhtmltopdf\r\nDocker image: [loicmahieu/alpine-wkhtmltopdf](https://hub.docker.com/r/loicmahieu/alpine-wkhtmltopdf/)\r\n\r\nCurrent version is working fine but there is some differences between rendering compared to other platform... Let try this example:\r\n```\r\ndocker run --rm -it \\\r\n  -v `pwd`:/data \\\r\n  loicmahieu/alpine-wkhtmltopdf:latest \\\r\n  wkhtmltopdf http://google.com /data/file2.pdf\r\n```\r\nRendered PDF is: https://cloudup.com/cBRKJVIl_jR\r\n\r\nWe can easily compare the result when it is executed on Ubuntu:\r\n```\r\ndocker run --rm -it \\\r\n  -v `pwd`:/data \\\r\n  openlabs/docker-wkhtmltopdf \\\r\n  wkhtmltopdf --load-error-handling ignore http://google.com /data/file.pdf\r\n```\r\nRendered: https://cloudup.com/c9CUwr4rAR8\r\n\r\n##### Notable differences are:\r\n* Margin are smaller on Alpine\r\n* Fonts are smaller and pixelated\r\n\r\nI think there is some dependencies that are missing... Anybody has advice for helping me to getting the render better ?\r\n\r\nLinks:\r\n* [APKBUILD](http://git.alpinelinux.org/cgit/aports/commit/?id=05b96ec9d84aee92aab7567191daee2e4925a338)\r\n\r\n\r\n---\r\n\r\n> **Why Alpine ?** [Image size](https://imagelayers.io/?images=openlabs%2Fdocker-wkhtmltopdf:latest,loicmahieu%2Falpine-wkhtmltopdf:latest)\r\n> ubuntu:14.04 : 736mb\r\n> alpine:3.2 : 155mb\r\n"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/139175316","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2554#issuecomment-139175316","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/2554","id":139175316,"user":{"login":"ashkulz","id":854352,"avatar_url":"https://avatars.githubusercontent.com/u/854352?v=3","gravatar_id":"","url":"https://api.github.com/users/ashkulz","html_url":"https://github.com/ashkulz","followers_url":"https://api.github.com/users/ashkulz/followers","following_url":"https://api.github.com/users/ashkulz/following{/other_user}","gists_url":"https://api.github.com/users/ashkulz/gists{/gist_id}","starred_url":"https://api.github.com/users/ashkulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashkulz/subscriptions","organizations_url":"https://api.github.com/users/ashkulz/orgs","repos_url":"https://api.github.com/users/ashkulz/repos","events_url":"https://api.github.com/users/ashkulz/events{/privacy}","received_events_url":"https://api.github.com/users/ashkulz/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T09:01:33Z","updated_at":"2015-09-10T09:01:33Z","body":"First, use the 0.12.3-dev binary. Also, make sure that you install the necessary fonts and have fontconfig configured properly."}}