{"action":"created","issue":{"url":"https://api.github.com/repos/LaurentGomila/SFML.Net/issues/96","labels_url":"https://api.github.com/repos/LaurentGomila/SFML.Net/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/LaurentGomila/SFML.Net/issues/96/comments","events_url":"https://api.github.com/repos/LaurentGomila/SFML.Net/issues/96/events","html_url":"https://github.com/LaurentGomila/SFML.Net/pull/96","id":58820006,"number":96,"title":"Added support for font info","user":{"login":"zsbzsb","id":3647990,"avatar_url":"https://avatars.githubusercontent.com/u/3647990?v=3","gravatar_id":"","url":"https://api.github.com/users/zsbzsb","html_url":"https://github.com/zsbzsb","followers_url":"https://api.github.com/users/zsbzsb/followers","following_url":"https://api.github.com/users/zsbzsb/following{/other_user}","gists_url":"https://api.github.com/users/zsbzsb/gists{/gist_id}","starred_url":"https://api.github.com/users/zsbzsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsbzsb/subscriptions","organizations_url":"https://api.github.com/users/zsbzsb/orgs","repos_url":"https://api.github.com/users/zsbzsb/repos","events_url":"https://api.github.com/users/zsbzsb/events{/privacy}","received_events_url":"https://api.github.com/users/zsbzsb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-24T22:57:19Z","updated_at":"2015-02-25T15:10:07Z","closed_at":"2015-02-25T12:57:57Z","pull_request":{"url":"https://api.github.com/repos/LaurentGomila/SFML.Net/pulls/96","html_url":"https://github.com/LaurentGomila/SFML.Net/pull/96","diff_url":"https://github.com/LaurentGomila/SFML.Net/pull/96.diff","patch_url":"https://github.com/LaurentGomila/SFML.Net/pull/96.patch"},"body":"Tested and working perfectly.\r\n\r\nThe only way to marshal a string inside a struct is to pass it as an IntPtr then use Marshal.PtrToStringAnsi(...) to convert it to a string. This is why I have two FontInfo structs in the PR.\r\n\r\nhttp://stackoverflow.com/questions/22803083/methods-type-signature-is-not-pinvoke-compatible"},"comment":{"url":"https://api.github.com/repos/LaurentGomila/SFML.Net/issues/comments/75976386","html_url":"https://github.com/LaurentGomila/SFML.Net/pull/96#issuecomment-75976386","issue_url":"https://api.github.com/repos/LaurentGomila/SFML.Net/issues/96","id":75976386,"user":{"login":"zsbzsb","id":3647990,"avatar_url":"https://avatars.githubusercontent.com/u/3647990?v=3","gravatar_id":"","url":"https://api.github.com/users/zsbzsb","html_url":"https://github.com/zsbzsb","followers_url":"https://api.github.com/users/zsbzsb/followers","following_url":"https://api.github.com/users/zsbzsb/following{/other_user}","gists_url":"https://api.github.com/users/zsbzsb/gists{/gist_id}","starred_url":"https://api.github.com/users/zsbzsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsbzsb/subscriptions","organizations_url":"https://api.github.com/users/zsbzsb/orgs","repos_url":"https://api.github.com/users/zsbzsb/repos","events_url":"https://api.github.com/users/zsbzsb/events{/privacy}","received_events_url":"https://api.github.com/users/zsbzsb/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T15:10:07Z","updated_at":"2015-02-25T15:10:07Z","body":"I think we should leave it as is. I don't see any outstanding reason to change it."}}