{"action":"created","issue":{"url":"https://api.github.com/repos/masayuki0812/c3/issues/1231","labels_url":"https://api.github.com/repos/masayuki0812/c3/issues/1231/labels{/name}","comments_url":"https://api.github.com/repos/masayuki0812/c3/issues/1231/comments","events_url":"https://api.github.com/repos/masayuki0812/c3/issues/1231/events","html_url":"https://github.com/masayuki0812/c3/pull/1231","id":90369611,"number":1231,"title":"Fix #1225 - (0.4.11-rc1) Incorrect layout when using titles on charts that are not visible at generation","user":{"login":"laurence-hudson-tessella","id":5978486,"avatar_url":"https://avatars.githubusercontent.com/u/5978486?v=3","gravatar_id":"","url":"https://api.github.com/users/laurence-hudson-tessella","html_url":"https://github.com/laurence-hudson-tessella","followers_url":"https://api.github.com/users/laurence-hudson-tessella/followers","following_url":"https://api.github.com/users/laurence-hudson-tessella/following{/other_user}","gists_url":"https://api.github.com/users/laurence-hudson-tessella/gists{/gist_id}","starred_url":"https://api.github.com/users/laurence-hudson-tessella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurence-hudson-tessella/subscriptions","organizations_url":"https://api.github.com/users/laurence-hudson-tessella/orgs","repos_url":"https://api.github.com/users/laurence-hudson-tessella/repos","events_url":"https://api.github.com/users/laurence-hudson-tessella/events{/privacy}","received_events_url":"https://api.github.com/users/laurence-hudson-tessella/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/masayuki0812/c3/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"masayuki0812","id":1142423,"avatar_url":"https://avatars.githubusercontent.com/u/1142423?v=3","gravatar_id":"","url":"https://api.github.com/users/masayuki0812","html_url":"https://github.com/masayuki0812","followers_url":"https://api.github.com/users/masayuki0812/followers","following_url":"https://api.github.com/users/masayuki0812/following{/other_user}","gists_url":"https://api.github.com/users/masayuki0812/gists{/gist_id}","starred_url":"https://api.github.com/users/masayuki0812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masayuki0812/subscriptions","organizations_url":"https://api.github.com/users/masayuki0812/orgs","repos_url":"https://api.github.com/users/masayuki0812/repos","events_url":"https://api.github.com/users/masayuki0812/events{/privacy}","received_events_url":"https://api.github.com/users/masayuki0812/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/masayuki0812/c3/milestones/1","html_url":"https://github.com/masayuki0812/c3/milestones/0.4.11","labels_url":"https://api.github.com/repos/masayuki0812/c3/milestones/1/labels","id":1190533,"number":1,"title":"0.4.11","description":"Issues related to the upcoming 0.4.11 release.","creator":{"login":"aendrew","id":185041,"avatar_url":"https://avatars.githubusercontent.com/u/185041?v=3","gravatar_id":"","url":"https://api.github.com/users/aendrew","html_url":"https://github.com/aendrew","followers_url":"https://api.github.com/users/aendrew/followers","following_url":"https://api.github.com/users/aendrew/following{/other_user}","gists_url":"https://api.github.com/users/aendrew/gists{/gist_id}","starred_url":"https://api.github.com/users/aendrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aendrew/subscriptions","organizations_url":"https://api.github.com/users/aendrew/orgs","repos_url":"https://api.github.com/users/aendrew/repos","events_url":"https://api.github.com/users/aendrew/events{/privacy}","received_events_url":"https://api.github.com/users/aendrew/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2015-07-02T12:45:34Z","updated_at":"2015-07-02T17:13:07Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-23T12:06:06Z","updated_at":"2015-07-02T17:52:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/masayuki0812/c3/pulls/1231","html_url":"https://github.com/masayuki0812/c3/pull/1231","diff_url":"https://github.com/masayuki0812/c3/pull/1231.diff","patch_url":"https://github.com/masayuki0812/c3/pull/1231.patch"},"body":"* Use getTextRect to measure title size, \r\n* Fix getTextRect so that any custom css font used is applied while measuring (also applies to legend)\r\n\r\nAlso fixes the firefox \"NS_ERROR_FAILURE\" regression, as getBBox is no longer used. As such this supersedes #1226.\r\n\r\nA slightly cleaner implementation is at [laurence-hudson-tessella/c3/fix-title-layout-clean](https://github.com/laurence-hudson-tessella/c3/tree/fix-title-layout-bug-clean), but it breaks some specs (only when run in node?) for reasons that are not immediately clear.\r\n\r\nBefore: http://codepen.io/anon/pen/aOLwGd (wont work in firefox)\r\nAfter: http://codepen.io/anon/pen/VLrjev\r\n"},"comment":{"url":"https://api.github.com/repos/masayuki0812/c3/issues/comments/118109634","html_url":"https://github.com/masayuki0812/c3/pull/1231#issuecomment-118109634","issue_url":"https://api.github.com/repos/masayuki0812/c3/issues/1231","id":118109634,"user":{"login":"aendrew","id":185041,"avatar_url":"https://avatars.githubusercontent.com/u/185041?v=3","gravatar_id":"","url":"https://api.github.com/users/aendrew","html_url":"https://github.com/aendrew","followers_url":"https://api.github.com/users/aendrew/followers","following_url":"https://api.github.com/users/aendrew/following{/other_user}","gists_url":"https://api.github.com/users/aendrew/gists{/gist_id}","starred_url":"https://api.github.com/users/aendrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aendrew/subscriptions","organizations_url":"https://api.github.com/users/aendrew/orgs","repos_url":"https://api.github.com/users/aendrew/repos","events_url":"https://api.github.com/users/aendrew/events{/privacy}","received_events_url":"https://api.github.com/users/aendrew/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T17:52:35Z","updated_at":"2015-07-02T17:52:35Z","body":"@laurence-hudson-tessella Ahhh, okay, makes sense. Will take a look at the alternative implementation tomorrow, see if I can't figure out what's breaking."}}