{"action":"created","issue":{"url":"https://api.github.com/repos/mono/skia/issues/2","repository_url":"https://api.github.com/repos/mono/skia","labels_url":"https://api.github.com/repos/mono/skia/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mono/skia/issues/2/comments","events_url":"https://api.github.com/repos/mono/skia/issues/2/events","html_url":"https://github.com/mono/skia/pull/2","id":141409728,"number":2,"title":"Fix bug in utf16 C APIs where character count and byte count were confused.","user":{"login":"petergolde","id":1686999,"avatar_url":"https://avatars.githubusercontent.com/u/1686999?v=3","gravatar_id":"","url":"https://api.github.com/users/petergolde","html_url":"https://github.com/petergolde","followers_url":"https://api.github.com/users/petergolde/followers","following_url":"https://api.github.com/users/petergolde/following{/other_user}","gists_url":"https://api.github.com/users/petergolde/gists{/gist_id}","starred_url":"https://api.github.com/users/petergolde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petergolde/subscriptions","organizations_url":"https://api.github.com/users/petergolde/orgs","repos_url":"https://api.github.com/users/petergolde/repos","events_url":"https://api.github.com/users/petergolde/events{/privacy}","received_events_url":"https://api.github.com/users/petergolde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T21:39:50Z","updated_at":"2016-03-18T04:01:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mono/skia/pulls/2","html_url":"https://github.com/mono/skia/pull/2","diff_url":"https://github.com/mono/skia/pull/2.diff","patch_url":"https://github.com/mono/skia/pull/2.patch"},"body":"Add multiply by sizeof UTF16 character, because SkPaint::measureText and SkPaint::breakText take a byte count. This causes the corresponding SkiaSharp APIs to only measure the first half of a string of text.\r\n\r\nAlso a minor whitespace fix nearby."},"comment":{"url":"https://api.github.com/repos/mono/skia/issues/comments/198198087","html_url":"https://github.com/mono/skia/pull/2#issuecomment-198198087","issue_url":"https://api.github.com/repos/mono/skia/issues/2","id":198198087,"user":{"login":"bholmes","id":310715,"avatar_url":"https://avatars.githubusercontent.com/u/310715?v=3","gravatar_id":"","url":"https://api.github.com/users/bholmes","html_url":"https://github.com/bholmes","followers_url":"https://api.github.com/users/bholmes/followers","following_url":"https://api.github.com/users/bholmes/following{/other_user}","gists_url":"https://api.github.com/users/bholmes/gists{/gist_id}","starred_url":"https://api.github.com/users/bholmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bholmes/subscriptions","organizations_url":"https://api.github.com/users/bholmes/orgs","repos_url":"https://api.github.com/users/bholmes/repos","events_url":"https://api.github.com/users/bholmes/events{/privacy}","received_events_url":"https://api.github.com/users/bholmes/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T04:01:06Z","updated_at":"2016-03-18T04:01:06Z","body":"Do you mind posting a small snippet of C# code in the comments so I better understand the bug and the fix?"}}