{"action":"created","issue":{"url":"https://api.github.com/repos/szimek/signature_pad/issues/59","labels_url":"https://api.github.com/repos/szimek/signature_pad/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/szimek/signature_pad/issues/59/comments","events_url":"https://api.github.com/repos/szimek/signature_pad/issues/59/events","html_url":"https://github.com/szimek/signature_pad/issues/59","id":34806741,"number":59,"title":"Rendering signature image with same aspect ratio regardless of window size","user":{"login":"bryangoldberg","id":4645400,"avatar_url":"https://avatars.githubusercontent.com/u/4645400?v=3","gravatar_id":"","url":"https://api.github.com/users/bryangoldberg","html_url":"https://github.com/bryangoldberg","followers_url":"https://api.github.com/users/bryangoldberg/followers","following_url":"https://api.github.com/users/bryangoldberg/following{/other_user}","gists_url":"https://api.github.com/users/bryangoldberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bryangoldberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryangoldberg/subscriptions","organizations_url":"https://api.github.com/users/bryangoldberg/orgs","repos_url":"https://api.github.com/users/bryangoldberg/repos","events_url":"https://api.github.com/users/bryangoldberg/events{/privacy}","received_events_url":"https://api.github.com/users/bryangoldberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-02T20:14:30Z","updated_at":"2015-01-14T14:40:09Z","closed_at":null,"body":"I can't seem to get the aspect ratio of the saved signature image to be the same across the different browser sizes and devices I use.\r\n\r\nFor example: Signing on a laptop vs signing on a phone vs signing on a smaller window on a computer doesn't have the same image aspect ratio.\r\n\r\nI made my #sigPadContainer to have a responsive aspect ratio depending on the size of the screen but my signatures are off by 50-200 pixels. Could anyone possibly give some insight in how I could get the same aspect ratio of the image?\r\n\r\nI am using the default .min.js of the signature pad."},"comment":{"url":"https://api.github.com/repos/szimek/signature_pad/issues/comments/69924903","html_url":"https://github.com/szimek/signature_pad/issues/59#issuecomment-69924903","issue_url":"https://api.github.com/repos/szimek/signature_pad/issues/59","id":69924903,"user":{"login":"szimek","id":9873,"avatar_url":"https://avatars.githubusercontent.com/u/9873?v=3","gravatar_id":"","url":"https://api.github.com/users/szimek","html_url":"https://github.com/szimek","followers_url":"https://api.github.com/users/szimek/followers","following_url":"https://api.github.com/users/szimek/following{/other_user}","gists_url":"https://api.github.com/users/szimek/gists{/gist_id}","starred_url":"https://api.github.com/users/szimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szimek/subscriptions","organizations_url":"https://api.github.com/users/szimek/orgs","repos_url":"https://api.github.com/users/szimek/repos","events_url":"https://api.github.com/users/szimek/events{/privacy}","received_events_url":"https://api.github.com/users/szimek/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T14:40:09Z","updated_at":"2015-01-14T14:40:09Z","body":"Are you sure that the displayed size of the canvas (the one set via CSS) and the real size of the canvas (the one set via `canvas.width` and `canvas.height`) is the same?"}}