{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/9162","labels_url":"https://api.github.com/repos/atom/atom/issues/9162/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/9162/comments","events_url":"https://api.github.com/repos/atom/atom/issues/9162/events","html_url":"https://github.com/atom/atom/pull/9162","id":111676531,"number":9162,"title":"CJK soft wrap","user":{"login":"as-cii","id":482957,"avatar_url":"https://avatars.githubusercontent.com/u/482957?v=3","gravatar_id":"","url":"https://api.github.com/users/as-cii","html_url":"https://github.com/as-cii","followers_url":"https://api.github.com/users/as-cii/followers","following_url":"https://api.github.com/users/as-cii/following{/other_user}","gists_url":"https://api.github.com/users/as-cii/gists{/gist_id}","starred_url":"https://api.github.com/users/as-cii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as-cii/subscriptions","organizations_url":"https://api.github.com/users/as-cii/orgs","repos_url":"https://api.github.com/users/as-cii/repos","events_url":"https://api.github.com/users/as-cii/events{/privacy}","received_events_url":"https://api.github.com/users/as-cii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-15T18:18:11Z","updated_at":"2015-10-16T16:35:08Z","closed_at":"2015-10-16T16:34:52Z","pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/9162","html_url":"https://github.com/atom/atom/pull/9162","diff_url":"https://github.com/atom/atom/pull/9162.diff","patch_url":"https://github.com/atom/atom/pull/9162.patch"},"body":"Instead of considering every character to have the same width when we perform soft-wrapping, we now make a distinction between default characters, double width characters, half width characters and Korean characters .\r\n\r\nThe strategy consists in measuring these kinds of characters once when sampling font styles and then using the calculated width to find where a certain line wraps.\r\n\r\nPlease, note that this won't work with non-monospaced fonts, but it's consistent with how we currently handle soft-wrapping for latin characters.\r\n\r\n/cc: @nathansobo @maxbrunsfeld "},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/148763011","html_url":"https://github.com/atom/atom/pull/9162#issuecomment-148763011","issue_url":"https://api.github.com/repos/atom/atom/issues/9162","id":148763011,"user":{"login":"nathansobo","id":1789,"avatar_url":"https://avatars.githubusercontent.com/u/1789?v=3","gravatar_id":"","url":"https://api.github.com/users/nathansobo","html_url":"https://github.com/nathansobo","followers_url":"https://api.github.com/users/nathansobo/followers","following_url":"https://api.github.com/users/nathansobo/following{/other_user}","gists_url":"https://api.github.com/users/nathansobo/gists{/gist_id}","starred_url":"https://api.github.com/users/nathansobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathansobo/subscriptions","organizations_url":"https://api.github.com/users/nathansobo/orgs","repos_url":"https://api.github.com/users/nathansobo/repos","events_url":"https://api.github.com/users/nathansobo/events{/privacy}","received_events_url":"https://api.github.com/users/nathansobo/received_events","type":"User","site_admin":true},"created_at":"2015-10-16T16:35:08Z","updated_at":"2015-10-16T16:35:08Z","body":"Thanks @as-cii for your continued excellence."}}