{"action":"created","issue":{"url":"https://api.github.com/repos/mono/SkiaSharp/issues/65","repository_url":"https://api.github.com/repos/mono/SkiaSharp","labels_url":"https://api.github.com/repos/mono/SkiaSharp/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/mono/SkiaSharp/issues/65/comments","events_url":"https://api.github.com/repos/mono/SkiaSharp/issues/65/events","html_url":"https://github.com/mono/SkiaSharp/issues/65","id":149017283,"number":65,"title":"Support for more functionality in Typeface","user":{"login":"agallero","id":591082,"avatar_url":"https://avatars.githubusercontent.com/u/591082?v=3","gravatar_id":"","url":"https://api.github.com/users/agallero","html_url":"https://github.com/agallero","followers_url":"https://api.github.com/users/agallero/followers","following_url":"https://api.github.com/users/agallero/following{/other_user}","gists_url":"https://api.github.com/users/agallero/gists{/gist_id}","starred_url":"https://api.github.com/users/agallero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agallero/subscriptions","organizations_url":"https://api.github.com/users/agallero/orgs","repos_url":"https://api.github.com/users/agallero/repos","events_url":"https://api.github.com/users/agallero/events{/privacy}","received_events_url":"https://api.github.com/users/agallero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T01:34:05Z","updated_at":"2016-04-20T16:57:24Z","closed_at":"2016-04-20T15:57:57Z","body":"I need to get the real typeface used by the SKTypeface when you create it, if font substitution happens.\r\n\r\nFrom what I see in the Skia C++ docs, I would need to expose the method:\r\n\r\n`void SkTypeface::getFamilyName\t(SkString * \tname)\tconst`\r\n\r\nI think it could be added as a method GetFamilyName() in the SKTypeface C# type. It could also be a property FamilyName, but I am not sure about the performance implications if we don't cache the family name and call getFamilyName each time you call the property.\r\n\r\nI would also need to expose a method GetTables() and GetTableTags() which would be wrappers around SKTypeface::getTableTags and SKTypeface::getTableData. \r\n\r\nAs none of those methods are in the C wrappers, I would have to also modify the C headers.\r\n\r\nIs it ok if I add those methods and make a pull request, or maybe someone else is working on this already?  If I add them myself, I assume I would have to add some tests too, but what about docs?  I don't see xmldocs used in the binding SKTypeface.cs, so I think you are using a different tool for the docs?\r\n"},"comment":{"url":"https://api.github.com/repos/mono/SkiaSharp/issues/comments/212513704","html_url":"https://github.com/mono/SkiaSharp/issues/65#issuecomment-212513704","issue_url":"https://api.github.com/repos/mono/SkiaSharp/issues/65","id":212513704,"user":{"login":"mattleibow","id":1096616,"avatar_url":"https://avatars.githubusercontent.com/u/1096616?v=3","gravatar_id":"","url":"https://api.github.com/users/mattleibow","html_url":"https://github.com/mattleibow","followers_url":"https://api.github.com/users/mattleibow/followers","following_url":"https://api.github.com/users/mattleibow/following{/other_user}","gists_url":"https://api.github.com/users/mattleibow/gists{/gist_id}","starred_url":"https://api.github.com/users/mattleibow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattleibow/subscriptions","organizations_url":"https://api.github.com/users/mattleibow/orgs","repos_url":"https://api.github.com/users/mattleibow/repos","events_url":"https://api.github.com/users/mattleibow/events{/privacy}","received_events_url":"https://api.github.com/users/mattleibow/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T16:57:24Z","updated_at":"2016-04-20T16:57:24Z","body":"@agallero Here are some examples of working with text:\r\nhttps://github.com/mono/SkiaSharp/blob/master/binding/Binding/SkiaApi.cs#L125-L136\r\nhttps://github.com/mono/SkiaSharp/blob/master/binding/Binding/SKCanvas.cs#L243-L252\r\nhttps://github.com/mono/SkiaSharp/blob/master/binding/Binding/Util.cs\r\n\r\n"}}