{"action":"created","issue":{"url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator/issues/224","repository_url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator","labels_url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator/issues/224/comments","events_url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator/issues/224/events","html_url":"https://github.com/RealFaviconGenerator/realfavicongenerator/issues/224","id":138787828,"number":224,"title":"Non-square SVG gets incorrect padding","user":{"login":"oBusk","id":13413409,"avatar_url":"https://avatars.githubusercontent.com/u/13413409?v=3","gravatar_id":"","url":"https://api.github.com/users/oBusk","html_url":"https://github.com/oBusk","followers_url":"https://api.github.com/users/oBusk/followers","following_url":"https://api.github.com/users/oBusk/following{/other_user}","gists_url":"https://api.github.com/users/oBusk/gists{/gist_id}","starred_url":"https://api.github.com/users/oBusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oBusk/subscriptions","organizations_url":"https://api.github.com/users/oBusk/orgs","repos_url":"https://api.github.com/users/oBusk/repos","events_url":"https://api.github.com/users/oBusk/events{/privacy}","received_events_url":"https://api.github.com/users/oBusk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-06T12:31:20Z","updated_at":"2016-04-14T13:00:06Z","closed_at":null,"body":"When giving http://realfavicongenerator.net/ a svg that is not square it seems like it get's too much padding. \r\n\r\nI have uploaded an example svg to show what i mean.\r\n![](https://i.gyazo.com/096ab6787174196e943c2fb31dab3a11.png)\r\nAs you can see it is not completely square and realfavicon offers to add transparent margins. The preview looks fine (only adding margins to the right and left).\r\n\r\nBut the icons that this process generates are very weirdly marginalized, and as a result they end up way too small.\r\n\r\n![](https://gyazo.com/fc7350d53a3329bac7e68a11e3913004.png)\r\n![](https://gyazo.com/aa76fd30b18a73cb7a9a3b1a61d77755.png)\r\n\r\nI can get around this by converting the svg to a proper sized png and then upload that. Also fiddling with the viewbox so that the svg becomes square outputs proper sized icons, so it seems to me that the problem is within the padding of non-square svgs."},"comment":{"url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator/issues/comments/209930408","html_url":"https://github.com/RealFaviconGenerator/realfavicongenerator/issues/224#issuecomment-209930408","issue_url":"https://api.github.com/repos/RealFaviconGenerator/realfavicongenerator/issues/224","id":209930408,"user":{"login":"phbernard","id":423852,"avatar_url":"https://avatars.githubusercontent.com/u/423852?v=3","gravatar_id":"","url":"https://api.github.com/users/phbernard","html_url":"https://github.com/phbernard","followers_url":"https://api.github.com/users/phbernard/followers","following_url":"https://api.github.com/users/phbernard/following{/other_user}","gists_url":"https://api.github.com/users/phbernard/gists{/gist_id}","starred_url":"https://api.github.com/users/phbernard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phbernard/subscriptions","organizations_url":"https://api.github.com/users/phbernard/orgs","repos_url":"https://api.github.com/users/phbernard/repos","events_url":"https://api.github.com/users/phbernard/events{/privacy}","received_events_url":"https://api.github.com/users/phbernard/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T13:00:06Z","updated_at":"2016-04-14T13:00:06Z","body":"Thanks!\r\n\r\nI think we have a fix! Could you retry to confirm the site now works for you too?"}}