{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/CairoSVG/issues/65","labels_url":"https://api.github.com/repos/Kozea/CairoSVG/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/CairoSVG/issues/65/comments","events_url":"https://api.github.com/repos/Kozea/CairoSVG/issues/65/events","html_url":"https://github.com/Kozea/CairoSVG/pull/65","id":59552799,"number":65,"title":"removed the forced ratio in PNGSurface","user":{"login":"ThomasChiroux","id":837803,"avatar_url":"https://avatars.githubusercontent.com/u/837803?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasChiroux","html_url":"https://github.com/ThomasChiroux","followers_url":"https://api.github.com/users/ThomasChiroux/followers","following_url":"https://api.github.com/users/ThomasChiroux/following{/other_user}","gists_url":"https://api.github.com/users/ThomasChiroux/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasChiroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasChiroux/subscriptions","organizations_url":"https://api.github.com/users/ThomasChiroux/orgs","repos_url":"https://api.github.com/users/ThomasChiroux/repos","events_url":"https://api.github.com/users/ThomasChiroux/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasChiroux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T21:20:58Z","updated_at":"2015-03-03T08:32:19Z","closed_at":"2015-03-02T22:01:22Z","pull_request":{"url":"https://api.github.com/repos/Kozea/CairoSVG/pulls/65","html_url":"https://github.com/Kozea/CairoSVG/pull/65","diff_url":"https://github.com/Kozea/CairoSVG/pull/65.diff","patch_url":"https://github.com/Kozea/CairoSVG/pull/65.patch"},"body":"PngSurface had a ratio forced to 1. This made the dpi parameter useless when using PNGSurface.\r\n"},"comment":{"url":"https://api.github.com/repos/Kozea/CairoSVG/issues/comments/76905653","html_url":"https://github.com/Kozea/CairoSVG/pull/65#issuecomment-76905653","issue_url":"https://api.github.com/repos/Kozea/CairoSVG/issues/65","id":76905653,"user":{"login":"ThomasChiroux","id":837803,"avatar_url":"https://avatars.githubusercontent.com/u/837803?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasChiroux","html_url":"https://github.com/ThomasChiroux","followers_url":"https://api.github.com/users/ThomasChiroux/followers","following_url":"https://api.github.com/users/ThomasChiroux/following{/other_user}","gists_url":"https://api.github.com/users/ThomasChiroux/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasChiroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasChiroux/subscriptions","organizations_url":"https://api.github.com/users/ThomasChiroux/orgs","repos_url":"https://api.github.com/users/ThomasChiroux/repos","events_url":"https://api.github.com/users/ThomasChiroux/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasChiroux/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T08:32:19Z","updated_at":"2015-03-03T08:32:19Z","body":"Yeah, that's exactly what I wanted to avoid: my application is to use cairoSVG and cairo(cffi) with a tftdisplay and load svg to display it directly.\r\nIf I can not control the dpi in svg to png, the resulted png is (for example) displayed in the full screen instead of taking some pixels.\r\nI know I can edit the svg files, but I wanted a more generic solution; i.e only changing the dpi ratio when switching to a different screen width and height.\r\nFor now i'll use my fork."}}