{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3260","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3260/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3260/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3260/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3260","id":197115661,"number":3260,"title":"Character positions in PDF output are rounded to int, causing inconsistent spacing","user":{"login":"DmitryFromDubna","id":24712324,"avatar_url":"https://avatars.githubusercontent.com/u/24712324?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryFromDubna","html_url":"https://github.com/DmitryFromDubna","followers_url":"https://api.github.com/users/DmitryFromDubna/followers","following_url":"https://api.github.com/users/DmitryFromDubna/following{/other_user}","gists_url":"https://api.github.com/users/DmitryFromDubna/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryFromDubna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryFromDubna/subscriptions","organizations_url":"https://api.github.com/users/DmitryFromDubna/orgs","repos_url":"https://api.github.com/users/DmitryFromDubna/repos","events_url":"https://api.github.com/users/DmitryFromDubna/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryFromDubna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-22T07:59:53Z","updated_at":"2016-12-26T16:52:47Z","closed_at":null,"body":"Hello,\r\nI can see the issue on Windows and CentOS 6.7, but not on Ubuntu 14.04. See attached screnshots:\r\nA test file converted on Ubuntu vs same file converted on CentOS:\r\n![wkhtmltopdf ubuntu-vs-centos](https://cloud.githubusercontent.com/assets/24712324/21418724/3ca878d6-c834-11e6-9a02-f192dc497de1.png)\r\nNote that Ubuntu file has floating point coordinates, while Centos has all integers.\r\n![wkhtmltopdf ubuntu-vs-centos rounding](https://cloud.githubusercontent.com/assets/24712324/21418725/3ca8e1a4-c834-11e6-9648-e60cf7e12fc0.png)\r\nThis is the test file:\r\n[Testme.html.zip](https://github.com/wkhtmltopdf/wkhtmltopdf/files/668244/Testme.html.zip)\r\n\r\nBoth systems had msttcorefonts installed for a closer comparison, but obviously it is not specific to particular fonts.\r\n\r\nI am getting pretty much the same result on Windows, although with different scaling; I only attach Ubuntu and CentOS because they are more apples-to-apples.\r\n\r\nTested using wkhtmltopdf 0.12.4."},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/269226440","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3260#issuecomment-269226440","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3260","id":269226440,"user":{"login":"DmitryFromDubna","id":24712324,"avatar_url":"https://avatars.githubusercontent.com/u/24712324?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryFromDubna","html_url":"https://github.com/DmitryFromDubna","followers_url":"https://api.github.com/users/DmitryFromDubna/followers","following_url":"https://api.github.com/users/DmitryFromDubna/following{/other_user}","gists_url":"https://api.github.com/users/DmitryFromDubna/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryFromDubna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryFromDubna/subscriptions","organizations_url":"https://api.github.com/users/DmitryFromDubna/orgs","repos_url":"https://api.github.com/users/DmitryFromDubna/repos","events_url":"https://api.github.com/users/DmitryFromDubna/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryFromDubna/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T16:52:47Z","updated_at":"2016-12-26T16:52:47Z","body":"Additional info: same error exists in conversion to SVG, but conversion to PNG works perfectly (tested on RHEL): \r\n![comparepdfsvgpng](https://cloud.githubusercontent.com/assets/24712324/21484495/c716e566-cba4-11e6-803a-a91b37a93720.png)\r\nAttached SVG and PNG outputs in [Testme.png.svg.zip](https://github.com/wkhtmltopdf/wkhtmltopdf/files/673173/Testme.png.svg.zip)\r\n"}}
{"actor":{"display_login":"DmitryFromDubna"}}