{"action":"created","comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments/199350781","pull_request_review_id":133455424,"id":199350781,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTM1MDc4MQ==","diff_hunk":"@@ -123,6 +123,24 @@ export function hex2string(hex)\n     return `#${hex}`;\n }\n \n+/**\n+ * Converts an integer to closest even integer.\n+ *\n+ * @memberof PIXI.utils\n+ * @function expandToEven\n+ * @param {number} input - the integer to convert\n+ * @return {number} even integer.\n+ */\n+export function expandToEven(input)\n+{\n+    if (input & 1)\n+    {\n+        input++;","path":"src/core/utils/index.js","position":null,"original_position":16,"commit_id":"21a13e4cea2737aa890e085e35e20c3daa294c8c","original_commit_id":"b2b682f9e8e1f8cb332093499a480b4c66a7dfd6","user":{"login":"Megabyteceer","id":5096541,"node_id":"MDQ6VXNlcjUwOTY1NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/5096541?v=4","gravatar_id":"","url":"https://api.github.com/users/Megabyteceer","html_url":"https://github.com/Megabyteceer","followers_url":"https://api.github.com/users/Megabyteceer/followers","following_url":"https://api.github.com/users/Megabyteceer/following{/other_user}","gists_url":"https://api.github.com/users/Megabyteceer/gists{/gist_id}","starred_url":"https://api.github.com/users/Megabyteceer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Megabyteceer/subscriptions","organizations_url":"https://api.github.com/users/Megabyteceer/orgs","repos_url":"https://api.github.com/users/Megabyteceer/repos","events_url":"https://api.github.com/users/Megabyteceer/events{/privacy}","received_events_url":"https://api.github.com/users/Megabyteceer/received_events","type":"User","site_admin":false},"body":"In all cases function used, values is rounded already. But ok, i added Math.ceil.","created_at":"2018-07-01T14:10:10Z","updated_at":"2018-07-01T14:10:10Z","html_url":"https://github.com/pixijs/pixi.js/pull/4992#discussion_r199350781","pull_request_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments/199350781"},"html":{"href":"https://github.com/pixijs/pixi.js/pull/4992#discussion_r199350781"},"pull_request":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992"}},"in_reply_to_id":199348142},"pull_request":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992","id":198494442,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDk0NDQy","html_url":"https://github.com/pixijs/pixi.js/pull/4992","diff_url":"https://github.com/pixijs/pixi.js/pull/4992.diff","patch_url":"https://github.com/pixijs/pixi.js/pull/4992.patch","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/4992","number":4992,"state":"open","locked":false,"title":"Fix for odd sized text and svg textures. #4970","user":{"login":"Megabyteceer","id":5096541,"node_id":"MDQ6VXNlcjUwOTY1NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/5096541?v=4","gravatar_id":"","url":"https://api.github.com/users/Megabyteceer","html_url":"https://github.com/Megabyteceer","followers_url":"https://api.github.com/users/Megabyteceer/followers","following_url":"https://api.github.com/users/Megabyteceer/following{/other_user}","gists_url":"https://api.github.com/users/Megabyteceer/gists{/gist_id}","starred_url":"https://api.github.com/users/Megabyteceer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Megabyteceer/subscriptions","organizations_url":"https://api.github.com/users/Megabyteceer/orgs","repos_url":"https://api.github.com/users/Megabyteceer/repos","events_url":"https://api.github.com/users/Megabyteceer/events{/privacy}","received_events_url":"https://api.github.com/users/Megabyteceer/received_events","type":"User","site_admin":false},"body":"When Text generates odd sized texture, its become blurred if set anchor to (0.5, 0.5).\r\nPR expands canvas to even sizes. Trimmed canvas and SVG generated canvas included also by the way.","created_at":"2018-06-30T21:12:13Z","updated_at":"2018-07-01T14:10:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e4ce3f92ba78e65c654885918bc65bb02379af4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992/commits","review_comments_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992/comments","review_comment_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/4992/comments","statuses_url":"https://api.github.com/repos/pixijs/pixi.js/statuses/21a13e4cea2737aa890e085e35e20c3daa294c8c","head":{"label":"Megabyteceer:dev","ref":"dev","sha":"21a13e4cea2737aa890e085e35e20c3daa294c8c","user":{"login":"Megabyteceer","id":5096541,"node_id":"MDQ6VXNlcjUwOTY1NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/5096541?v=4","gravatar_id":"","url":"https://api.github.com/users/Megabyteceer","html_url":"https://github.com/Megabyteceer","followers_url":"https://api.github.com/users/Megabyteceer/followers","following_url":"https://api.github.com/users/Megabyteceer/following{/other_user}","gists_url":"https://api.github.com/users/Megabyteceer/gists{/gist_id}","starred_url":"https://api.github.com/users/Megabyteceer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Megabyteceer/subscriptions","organizations_url":"https://api.github.com/users/Megabyteceer/orgs","repos_url":"https://api.github.com/users/Megabyteceer/repos","events_url":"https://api.github.com/users/Megabyteceer/events{/privacy}","received_events_url":"https://api.github.com/users/Megabyteceer/received_events","type":"User","site_admin":false},"repo":{"id":139276093,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkyNzYwOTM=","name":"pixi.js","full_name":"Megabyteceer/pixi.js","owner":{"login":"Megabyteceer","id":5096541,"node_id":"MDQ6VXNlcjUwOTY1NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/5096541?v=4","gravatar_id":"","url":"https://api.github.com/users/Megabyteceer","html_url":"https://github.com/Megabyteceer","followers_url":"https://api.github.com/users/Megabyteceer/followers","following_url":"https://api.github.com/users/Megabyteceer/following{/other_user}","gists_url":"https://api.github.com/users/Megabyteceer/gists{/gist_id}","starred_url":"https://api.github.com/users/Megabyteceer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Megabyteceer/subscriptions","organizations_url":"https://api.github.com/users/Megabyteceer/orgs","repos_url":"https://api.github.com/users/Megabyteceer/repos","events_url":"https://api.github.com/users/Megabyteceer/events{/privacy}","received_events_url":"https://api.github.com/users/Megabyteceer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Megabyteceer/pixi.js","description":"The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.","fork":true,"url":"https://api.github.com/repos/Megabyteceer/pixi.js","forks_url":"https://api.github.com/repos/Megabyteceer/pixi.js/forks","keys_url":"https://api.github.com/repos/Megabyteceer/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Megabyteceer/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Megabyteceer/pixi.js/teams","hooks_url":"https://api.github.com/repos/Megabyteceer/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/Megabyteceer/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/Megabyteceer/pixi.js/events","assignees_url":"https://api.github.com/repos/Megabyteceer/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/Megabyteceer/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/Megabyteceer/pixi.js/tags","blobs_url":"https://api.github.com/repos/Megabyteceer/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Megabyteceer/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Megabyteceer/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Megabyteceer/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Megabyteceer/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Megabyteceer/pixi.js/languages","stargazers_url":"https://api.github.com/repos/Megabyteceer/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/Megabyteceer/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/Megabyteceer/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/Megabyteceer/pixi.js/subscription","commits_url":"https://api.github.com/repos/Megabyteceer/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Megabyteceer/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Megabyteceer/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Megabyteceer/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Megabyteceer/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/Megabyteceer/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Megabyteceer/pixi.js/merges","archive_url":"https://api.github.com/repos/Megabyteceer/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Megabyteceer/pixi.js/downloads","issues_url":"https://api.github.com/repos/Megabyteceer/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/Megabyteceer/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Megabyteceer/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Megabyteceer/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Megabyteceer/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/Megabyteceer/pixi.js/releases{/id}","deployments_url":"https://api.github.com/repos/Megabyteceer/pixi.js/deployments","created_at":"2018-06-30T19:57:45Z","updated_at":"2018-07-01T14:09:19Z","pushed_at":"2018-07-01T14:09:14Z","git_url":"git://github.com/Megabyteceer/pixi.js.git","ssh_url":"git@github.com:Megabyteceer/pixi.js.git","clone_url":"https://github.com/Megabyteceer/pixi.js.git","svn_url":"https://github.com/Megabyteceer/pixi.js","homepage":"http://pixijs.com","size":68099,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"pixijs:dev","ref":"dev","sha":"49b07302126167bb668e3a331d3d579ffde65673","user":{"login":"pixijs","id":5406849,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MDY4NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5406849?v=4","gravatar_id":"","url":"https://api.github.com/users/pixijs","html_url":"https://github.com/pixijs","followers_url":"https://api.github.com/users/pixijs/followers","following_url":"https://api.github.com/users/pixijs/following{/other_user}","gists_url":"https://api.github.com/users/pixijs/gists{/gist_id}","starred_url":"https://api.github.com/users/pixijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixijs/subscriptions","organizations_url":"https://api.github.com/users/pixijs/orgs","repos_url":"https://api.github.com/users/pixijs/repos","events_url":"https://api.github.com/users/pixijs/events{/privacy}","received_events_url":"https://api.github.com/users/pixijs/received_events","type":"Organization","site_admin":false},"repo":{"id":7741856,"node_id":"MDEwOlJlcG9zaXRvcnk3NzQxODU2","name":"pixi.js","full_name":"pixijs/pixi.js","owner":{"login":"pixijs","id":5406849,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0MDY4NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5406849?v=4","gravatar_id":"","url":"https://api.github.com/users/pixijs","html_url":"https://github.com/pixijs","followers_url":"https://api.github.com/users/pixijs/followers","following_url":"https://api.github.com/users/pixijs/following{/other_user}","gists_url":"https://api.github.com/users/pixijs/gists{/gist_id}","starred_url":"https://api.github.com/users/pixijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixijs/subscriptions","organizations_url":"https://api.github.com/users/pixijs/orgs","repos_url":"https://api.github.com/users/pixijs/repos","events_url":"https://api.github.com/users/pixijs/events{/privacy}","received_events_url":"https://api.github.com/users/pixijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pixijs/pixi.js","description":"The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.","fork":false,"url":"https://api.github.com/repos/pixijs/pixi.js","forks_url":"https://api.github.com/repos/pixijs/pixi.js/forks","keys_url":"https://api.github.com/repos/pixijs/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixijs/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixijs/pixi.js/teams","hooks_url":"https://api.github.com/repos/pixijs/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/pixijs/pixi.js/events","assignees_url":"https://api.github.com/repos/pixijs/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/pixijs/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/pixijs/pixi.js/tags","blobs_url":"https://api.github.com/repos/pixijs/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixijs/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixijs/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixijs/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixijs/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/pixijs/pixi.js/languages","stargazers_url":"https://api.github.com/repos/pixijs/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/pixijs/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/pixijs/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/pixijs/pixi.js/subscription","commits_url":"https://api.github.com/repos/pixijs/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixijs/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/pixijs/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/pixijs/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixijs/pixi.js/merges","archive_url":"https://api.github.com/repos/pixijs/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixijs/pixi.js/downloads","issues_url":"https://api.github.com/repos/pixijs/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/pixijs/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/pixijs/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/pixijs/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixijs/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/pixijs/pixi.js/releases{/id}","deployments_url":"https://api.github.com/repos/pixijs/pixi.js/deployments","created_at":"2013-01-21T22:40:50Z","updated_at":"2018-07-01T10:47:48Z","pushed_at":"2018-07-01T14:09:19Z","git_url":"git://github.com/pixijs/pixi.js.git","ssh_url":"git@github.com:pixijs/pixi.js.git","clone_url":"https://github.com/pixijs/pixi.js.git","svn_url":"https://github.com/pixijs/pixi.js","homepage":"http://pixijs.com","size":68074,"stargazers_count":19289,"watchers_count":19289,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2952,"mirror_url":null,"archived":false,"open_issues_count":432,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2952,"open_issues":432,"watchers":19289,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992"},"html":{"href":"https://github.com/pixijs/pixi.js/pull/4992"},"issue":{"href":"https://api.github.com/repos/pixijs/pixi.js/issues/4992"},"comments":{"href":"https://api.github.com/repos/pixijs/pixi.js/issues/4992/comments"},"review_comments":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992/comments"},"review_comment":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/4992/commits"},"statuses":{"href":"https://api.github.com/repos/pixijs/pixi.js/statuses/21a13e4cea2737aa890e085e35e20c3daa294c8c"}},"author_association":"NONE"}}
{"actor":{"display_login":"Megabyteceer"}}