{"action":"created","issue":{"url":"https://api.github.com/repos/mono/xwt/issues/450","labels_url":"https://api.github.com/repos/mono/xwt/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/mono/xwt/issues/450/comments","events_url":"https://api.github.com/repos/mono/xwt/issues/450/events","html_url":"https://github.com/mono/xwt/pull/450","id":54680420,"number":450,"title":"Font optimization","user":{"login":"sevoku","id":951587,"avatar_url":"https://avatars.githubusercontent.com/u/951587?v=3","gravatar_id":"","url":"https://api.github.com/users/sevoku","html_url":"https://github.com/sevoku","followers_url":"https://api.github.com/users/sevoku/followers","following_url":"https://api.github.com/users/sevoku/following{/other_user}","gists_url":"https://api.github.com/users/sevoku/gists{/gist_id}","starred_url":"https://api.github.com/users/sevoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevoku/subscriptions","organizations_url":"https://api.github.com/users/sevoku/orgs","repos_url":"https://api.github.com/users/sevoku/repos","events_url":"https://api.github.com/users/sevoku/events{/privacy}","received_events_url":"https://api.github.com/users/sevoku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mono/xwt/labels/API%20change","name":"API change","color":"e11d21"},{"url":"https://api.github.com/repos/mono/xwt/labels/confirmed-bug","name":"confirmed-bug","color":"e11d21"},{"url":"https://api.github.com/repos/mono/xwt/labels/feature","name":"feature","color":"006b75"},{"url":"https://api.github.com/repos/mono/xwt/labels/Frontend","name":"Frontend","color":"fad8c7"},{"url":"https://api.github.com/repos/mono/xwt/labels/GTK2","name":"GTK2","color":"fbca04"},{"url":"https://api.github.com/repos/mono/xwt/labels/GTK3","name":"GTK3","color":"fbca04"},{"url":"https://api.github.com/repos/mono/xwt/labels/MAC","name":"MAC","color":"fbca04"},{"url":"https://api.github.com/repos/mono/xwt/labels/WPF","name":"WPF","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mono/xwt/milestones/4","labels_url":"https://api.github.com/repos/mono/xwt/milestones/4/labels","id":959053,"number":4,"title":"v0.3","description":"Test version includin missing backend features and some API improvements","creator":{"login":"sevoku","id":951587,"avatar_url":"https://avatars.githubusercontent.com/u/951587?v=3","gravatar_id":"","url":"https://api.github.com/users/sevoku","html_url":"https://github.com/sevoku","followers_url":"https://api.github.com/users/sevoku/followers","following_url":"https://api.github.com/users/sevoku/following{/other_user}","gists_url":"https://api.github.com/users/sevoku/gists{/gist_id}","starred_url":"https://api.github.com/users/sevoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevoku/subscriptions","organizations_url":"https://api.github.com/users/sevoku/orgs","repos_url":"https://api.github.com/users/sevoku/repos","events_url":"https://api.github.com/users/sevoku/events{/privacy}","received_events_url":"https://api.github.com/users/sevoku/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":4,"state":"open","created_at":"2015-01-30T23:51:21Z","updated_at":"2015-02-18T09:07:32Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-01-17T23:58:55Z","updated_at":"2015-02-19T00:18:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mono/xwt/pulls/450","html_url":"https://github.com/mono/xwt/pull/450","diff_url":"https://github.com/mono/xwt/pull/450.diff","patch_url":"https://github.com/mono/xwt/pull/450.patch"},"body":"While working on the FontSelector widget I've found some issues with the current font implementation. \r\n\r\n1. missing weight values (a84e9ff): according to [Pango API](https://developer.gnome.org/pango/stable/pango-Fonts.html#PangoWeight) there are some additional predefined weight values and they have backend specific (Wpf/Mac) pendants. So I have added them and optimized the backend mappings for better fitting.\r\n2. little Mac issue (016c67a): the trait mask has to be updated, when changing the font weight (NSFontTraitMask.Bold, NSFontTraitMask.Unbold)\r\n3. A new function to retrieve available font family variants (c3000f6): since the Font object allows to apply any weight, style and stretch combination (even invalid), I was missing a function to get really available/valid combinations (font/system specific, of course). ```GetAvailableFontFaces``` returns a collection of face specific names and their Font representations."},"comment":{"url":"https://api.github.com/repos/mono/xwt/issues/comments/74977399","html_url":"https://github.com/mono/xwt/pull/450#issuecomment-74977399","issue_url":"https://api.github.com/repos/mono/xwt/issues/450","id":74977399,"user":{"login":"slluis","id":260349,"avatar_url":"https://avatars.githubusercontent.com/u/260349?v=3","gravatar_id":"","url":"https://api.github.com/users/slluis","html_url":"https://github.com/slluis","followers_url":"https://api.github.com/users/slluis/followers","following_url":"https://api.github.com/users/slluis/following{/other_user}","gists_url":"https://api.github.com/users/slluis/gists{/gist_id}","starred_url":"https://api.github.com/users/slluis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slluis/subscriptions","organizations_url":"https://api.github.com/users/slluis/orgs","repos_url":"https://api.github.com/users/slluis/repos","events_url":"https://api.github.com/users/slluis/events{/privacy}","received_events_url":"https://api.github.com/users/slluis/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T00:18:39Z","updated_at":"2015-02-19T00:18:39Z","body":"It looks good to me now."}}