{"action":"created","issue":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/6782","repository_url":"https://api.github.com/repos/highcharts/highcharts","labels_url":"https://api.github.com/repos/highcharts/highcharts/issues/6782/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/6782/comments","events_url":"https://api.github.com/repos/highcharts/highcharts/issues/6782/events","html_url":"https://github.com/highcharts/highcharts/issues/6782","id":232630347,"number":6782,"title":"Highcharts and Google Fonts","user":{"login":"nedimg","id":3115806,"avatar_url":"https://avatars4.githubusercontent.com/u/3115806?v=4","gravatar_id":"","url":"https://api.github.com/users/nedimg","html_url":"https://github.com/nedimg","followers_url":"https://api.github.com/users/nedimg/followers","following_url":"https://api.github.com/users/nedimg/following{/other_user}","gists_url":"https://api.github.com/users/nedimg/gists{/gist_id}","starred_url":"https://api.github.com/users/nedimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nedimg/subscriptions","organizations_url":"https://api.github.com/users/nedimg/orgs","repos_url":"https://api.github.com/users/nedimg/repos","events_url":"https://api.github.com/users/nedimg/events{/privacy}","received_events_url":"https://api.github.com/users/nedimg/received_events","type":"User","site_admin":false},"labels":[{"id":56034,"url":"https://api.github.com/repos/highcharts/highcharts/labels/Bug","name":"Bug","color":"fa0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-31T16:55:08Z","updated_at":"2017-07-17T13:03:10Z","closed_at":null,"body":"#### Expected behaviour\r\nText (axis labels, data labels etc),  measured and positioned properly after `chart.style.fontFamily` update.\r\n\r\n#### Actual behaviour\r\nChart Y axis labels (probably other labels too) cut off due to fontFamily change. A ugly hack is needed to fix issue...\r\n\r\n#### Live demo with steps to reproduce\r\n[JSFiddle](http://jsfiddle.net/wGck7/38/)\r\n\r\n#### Affected browser(s)\r\nAll\r\n"},"comment":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/comments/315749169","html_url":"https://github.com/highcharts/highcharts/issues/6782#issuecomment-315749169","issue_url":"https://api.github.com/repos/highcharts/highcharts/issues/6782","id":315749169,"user":{"login":"TorsteinHonsi","id":227836,"avatar_url":"https://avatars4.githubusercontent.com/u/227836?v=4","gravatar_id":"","url":"https://api.github.com/users/TorsteinHonsi","html_url":"https://github.com/TorsteinHonsi","followers_url":"https://api.github.com/users/TorsteinHonsi/followers","following_url":"https://api.github.com/users/TorsteinHonsi/following{/other_user}","gists_url":"https://api.github.com/users/TorsteinHonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/TorsteinHonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TorsteinHonsi/subscriptions","organizations_url":"https://api.github.com/users/TorsteinHonsi/orgs","repos_url":"https://api.github.com/users/TorsteinHonsi/repos","events_url":"https://api.github.com/users/TorsteinHonsi/events{/privacy}","received_events_url":"https://api.github.com/users/TorsteinHonsi/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T13:03:10Z","updated_at":"2017-07-17T13:03:10Z","body":"Also the first option, of adding `renderer.style.fontFamily` to the `cacheKey`, seems to fail in the example. I assume this has to do with the fonts loading async, so at the time Highcharts computes the bounding boxes, the new font isn't actually applied yet."}}
{"actor":{"display_login":"TorsteinHonsi"}}