{"action":"created","issue":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/1503","repository_url":"https://api.github.com/repos/fontforge/fontforge","labels_url":"https://api.github.com/repos/fontforge/fontforge/issues/1503/labels{/name}","comments_url":"https://api.github.com/repos/fontforge/fontforge/issues/1503/comments","events_url":"https://api.github.com/repos/fontforge/fontforge/issues/1503/events","html_url":"https://github.com/fontforge/fontforge/issues/1503","id":37676731,"number":1503,"title":"Support WOFF2","user":{"login":"davelab6","id":261579,"avatar_url":"https://avatars.githubusercontent.com/u/261579?v=3","gravatar_id":"","url":"https://api.github.com/users/davelab6","html_url":"https://github.com/davelab6","followers_url":"https://api.github.com/users/davelab6/followers","following_url":"https://api.github.com/users/davelab6/following{/other_user}","gists_url":"https://api.github.com/users/davelab6/gists{/gist_id}","starred_url":"https://api.github.com/users/davelab6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davelab6/subscriptions","organizations_url":"https://api.github.com/users/davelab6/orgs","repos_url":"https://api.github.com/users/davelab6/repos","events_url":"https://api.github.com/users/davelab6/events{/privacy}","received_events_url":"https://api.github.com/users/davelab6/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fontforge/fontforge/labels/F-WOFF","name":"F-WOFF","color":"fef2c0"},{"url":"https://api.github.com/repos/fontforge/fontforge/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fontforge/fontforge/milestones/12","html_url":"https://github.com/fontforge/fontforge/milestones/Someday%20Maybe","labels_url":"https://api.github.com/repos/fontforge/fontforge/milestones/12/labels","id":706043,"number":12,"title":"Someday Maybe","description":"","creator":{"login":"davelab6","id":261579,"avatar_url":"https://avatars.githubusercontent.com/u/261579?v=3","gravatar_id":"","url":"https://api.github.com/users/davelab6","html_url":"https://github.com/davelab6","followers_url":"https://api.github.com/users/davelab6/followers","following_url":"https://api.github.com/users/davelab6/following{/other_user}","gists_url":"https://api.github.com/users/davelab6/gists{/gist_id}","starred_url":"https://api.github.com/users/davelab6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davelab6/subscriptions","organizations_url":"https://api.github.com/users/davelab6/orgs","repos_url":"https://api.github.com/users/davelab6/repos","events_url":"https://api.github.com/users/davelab6/events{/privacy}","received_events_url":"https://api.github.com/users/davelab6/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2014-06-30T19:58:07Z","updated_at":"2015-10-20T18:08:31Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-07-11T16:41:20Z","updated_at":"2016-02-12T15:08:30Z","closed_at":null,"body":"Following https://github.com/fontforge/fontforge/pull/1501, add support for WOFF2 (related, https://github.com/fontforge/fontforge/issues/1457)"},"comment":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/comments/183366077","html_url":"https://github.com/fontforge/fontforge/issues/1503#issuecomment-183366077","issue_url":"https://api.github.com/repos/fontforge/fontforge/issues/1503","id":183366077,"user":{"login":"fred-wang","id":567455,"avatar_url":"https://avatars.githubusercontent.com/u/567455?v=3","gravatar_id":"","url":"https://api.github.com/users/fred-wang","html_url":"https://github.com/fred-wang","followers_url":"https://api.github.com/users/fred-wang/followers","following_url":"https://api.github.com/users/fred-wang/following{/other_user}","gists_url":"https://api.github.com/users/fred-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/fred-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fred-wang/subscriptions","organizations_url":"https://api.github.com/users/fred-wang/orgs","repos_url":"https://api.github.com/users/fred-wang/repos","events_url":"https://api.github.com/users/fred-wang/events{/privacy}","received_events_url":"https://api.github.com/users/fred-wang/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T15:08:30Z","updated_at":"2016-02-12T15:08:30Z","body":"I thought a bit on that while working on #926 and my conclusion was that WOFF2 is slightly more complex than just gzip compression of tables... So it makes sense to just generate the OpenType/TrueType file with fontforge's functions and then call Google's woff2 library on it (and the other way around for opening font). Also WOFF2 may invalidate font checksum and then remove DSIG table, so maybe we should warn the user about that...\r\n\r\nThe main \"difficulty\" is that libraries https://github.com/google/woff2 and https://github.com/google/brotli/ are not really available as standard released packages so we'll have to include the code into fontforge's build system in some way."}}