{"action":"created","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13381","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13381/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13381/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13381/events","html_url":"https://github.com/ariya/phantomjs/issues/13381","id":93223503,"number":13381,"title":"Reference screenshot differs on machines","user":{"login":"tobiasKaminsky","id":5836855,"avatar_url":"https://avatars.githubusercontent.com/u/5836855?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasKaminsky","html_url":"https://github.com/tobiasKaminsky","followers_url":"https://api.github.com/users/tobiasKaminsky/followers","following_url":"https://api.github.com/users/tobiasKaminsky/following{/other_user}","gists_url":"https://api.github.com/users/tobiasKaminsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasKaminsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasKaminsky/subscriptions","organizations_url":"https://api.github.com/users/tobiasKaminsky/orgs","repos_url":"https://api.github.com/users/tobiasKaminsky/repos","events_url":"https://api.github.com/users/tobiasKaminsky/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasKaminsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-06T08:34:15Z","updated_at":"2015-08-09T16:16:27Z","closed_at":null,"body":"Hello,\r\n\r\nI am using phantomJS within Vaadin TestBench, which uses Selenium. \r\nThere I develop integration tests and let phantomJS create a reference screenshot.\r\nIn the test cycles these reference images are compared to the currently created one and the difference is shown.\r\nThe problem is that my local developer machine creates other reference images than the integration server.\r\nTherefore I cannot use the same reference images for the same integration test but have to maintain for every machine an individual  set of reference screenshots.\r\n\r\nSo I have tried to narrow down the problem: \r\nI have created a plain html file with only < FONT FACE=\"arial\">arial font< /FONT >\r\nand have it rendered via:\r\n```\r\nvar page = require('webpage').create();\r\npage.viewportSize = { width: 1024, height: 768 };\r\n\r\npage.open('font.html', function() {\r\n\r\n  page.evaluate(function() {\r\n    document.body.bgColor = 'white';\r\n    });\r\n\r\n  page.render('font.png');\r\n  phantom.exit();\r\n});\r\n```\r\nand \"phantomjs font.js\"\r\n\r\nAttached are the three images generated on three machines.\r\nAll are different. (For better seeing the difference please open them in new tabs and switch quickly between them).\r\n\r\nVia md5sum I have verified that the used arial.ttf file is the same on all three machines.\r\nAlso phantomjs is the same (1.9.8 ).\r\nWhat other package could influence the output of the rendering?\r\n\r\n![font](https://cloud.githubusercontent.com/assets/5836855/8518416/1fb5f86c-23ca-11e5-89c4-2512ab0c7c1b.png)\r\n![font_debian7](https://cloud.githubusercontent.com/assets/5836855/8518414/1fb53882-23ca-11e5-8566-4faa1915436b.png)\r\n![font_server](https://cloud.githubusercontent.com/assets/5836855/8518415/1fb5980e-23ca-11e5-8382-a870043f87b1.png)\r\n\r\nThank you\r\nTobias"},"comment":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/comments/129211841","html_url":"https://github.com/ariya/phantomjs/issues/13381#issuecomment-129211841","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/13381","id":129211841,"user":{"login":"tobiasKaminsky","id":5836855,"avatar_url":"https://avatars.githubusercontent.com/u/5836855?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasKaminsky","html_url":"https://github.com/tobiasKaminsky","followers_url":"https://api.github.com/users/tobiasKaminsky/followers","following_url":"https://api.github.com/users/tobiasKaminsky/following{/other_user}","gists_url":"https://api.github.com/users/tobiasKaminsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasKaminsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasKaminsky/subscriptions","organizations_url":"https://api.github.com/users/tobiasKaminsky/orgs","repos_url":"https://api.github.com/users/tobiasKaminsky/repos","events_url":"https://api.github.com/users/tobiasKaminsky/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasKaminsky/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T16:16:27Z","updated_at":"2015-08-09T16:16:27Z","body":"@OneOfOne so you mean you wrote a whole replacement for phantomjs? Or only parts of it?"}}