{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/8340","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8340/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8340/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8340/events","html_url":"https://github.com/mozilla/pdf.js/pull/8340","id":224759980,"number":8340,"title":"Fix char spacing bug in SVG mode","user":{"login":"ydfzgyj","id":1191515,"avatar_url":"https://avatars1.githubusercontent.com/u/1191515?v=3","gravatar_id":"","url":"https://api.github.com/users/ydfzgyj","html_url":"https://github.com/ydfzgyj","followers_url":"https://api.github.com/users/ydfzgyj/followers","following_url":"https://api.github.com/users/ydfzgyj/following{/other_user}","gists_url":"https://api.github.com/users/ydfzgyj/gists{/gist_id}","starred_url":"https://api.github.com/users/ydfzgyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ydfzgyj/subscriptions","organizations_url":"https://api.github.com/users/ydfzgyj/orgs","repos_url":"https://api.github.com/users/ydfzgyj/repos","events_url":"https://api.github.com/users/ydfzgyj/events{/privacy}","received_events_url":"https://api.github.com/users/ydfzgyj/received_events","type":"User","site_admin":false},"labels":[{"id":108131217,"url":"https://api.github.com/repos/mozilla/pdf.js/labels/4-svg","name":"4-svg","color":"c0c0c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-27T11:55:47Z","updated_at":"2017-05-03T15:32:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/8340","html_url":"https://github.com/mozilla/pdf.js/pull/8340","diff_url":"https://github.com/mozilla/pdf.js/pull/8340.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/8340.patch"},"body":"When use svg mode, a word which first char is blank won't get accurate position. Because canvas mode renders well, I compared code between them and found some code in svg mode was too old. I just modify the code which make my pdf looks bad, but I'm not sure there's any other bugs in other condition like `font.vertical = true`. Nevertheless, this PR won't trigger any new problems.\r\n\r\nHere's my example\r\n\r\n- Former\r\n![former](https://cloud.githubusercontent.com/assets/1191515/25480967/be720c40-2b7d-11e7-9c4d-dc0aec9010c0.png)\r\n- After\r\n![after](https://cloud.githubusercontent.com/assets/1191515/25480975/c25f4322-2b7d-11e7-8872-1ece1702aa07.png)"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/298947587","html_url":"https://github.com/mozilla/pdf.js/pull/8340#issuecomment-298947587","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/8340","id":298947587,"user":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars3.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T15:32:26Z","updated_at":"2017-05-03T15:32:26Z","body":"It's hard to understand the fix. Can you explain it in terms of SVG and PDF32000 specs?"}}
{"actor":{"display_login":"yurydelendik"}}