{"action":"created","issue":{"url":"https://api.github.com/repos/devongovett/fontkit/issues/30","repository_url":"https://api.github.com/repos/devongovett/fontkit","labels_url":"https://api.github.com/repos/devongovett/fontkit/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/devongovett/fontkit/issues/30/comments","events_url":"https://api.github.com/repos/devongovett/fontkit/issues/30/events","html_url":"https://github.com/devongovett/fontkit/issues/30","id":141883854,"number":30,"title":"Error: Unknown version 128","user":{"login":"defue","id":7314657,"avatar_url":"https://avatars.githubusercontent.com/u/7314657?v=3","gravatar_id":"","url":"https://api.github.com/users/defue","html_url":"https://github.com/defue","followers_url":"https://api.github.com/users/defue/followers","following_url":"https://api.github.com/users/defue/following{/other_user}","gists_url":"https://api.github.com/users/defue/gists{/gist_id}","starred_url":"https://api.github.com/users/defue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defue/subscriptions","organizations_url":"https://api.github.com/users/defue/orgs","repos_url":"https://api.github.com/users/defue/repos","events_url":"https://api.github.com/users/defue/events{/privacy}","received_events_url":"https://api.github.com/users/defue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T14:34:41Z","updated_at":"2016-03-18T16:42:52Z","closed_at":null,"body":"Code:\r\n```\r\nvar fontkit = require('fontkit');\r\nvar font = fontkit.openSync('Verona-Xlight.ttf');\r\nvar run = font.layout('hello world!');\r\n```\r\n\r\nOutput:\r\n```\r\n/home/defue/node_modules/brotli/build/decode.js:1\r\norts, require, module, __filename, __dirname) { function e(a){throw a;}var j=v\r\n                                                                    ^\r\nError: Unknown version 128\r\n    at VersionedStruct.decode (/home/defue/node_modules/restructure/src/VersionedStruct.js:37:15)\r\n    at VersionedStruct.Struct._parseFields (/home/defue/node_modules/restructure/src/Struct.js:53:22)\r\n    at VersionedStruct.decode (/home/defue/node_modules/restructure/src/VersionedStruct.js:42:12)\r\n    at ArrayT.decode (/home/defue/node_modules/restructure/src/Array.js:49:30)\r\n    at VersionedStruct.Struct._parseFields (/home/defue/node_modules/restructure/src/Struct.js:53:22)\r\n    at VersionedStruct.decode (/home/defue/node_modules/restructure/src/VersionedStruct.js:42:12)\r\n    at TTFFont._decodeTable (/home/defue/node_modules/fontkit/src/TTFFont.js:93:32)\r\n    at TTFFont.getTable (/home/defue/node_modules/fontkit/src/TTFFont.js:69:40)\r\n    at LayoutEngine.position (/home/defue/node_modules/fontkit/src/layout/LayoutEngine.js:106:72)\r\n    at LayoutEngine.layout (/home/defue/node_modules/fontkit/src/layout/LayoutEngine.js:63:24)\r\n```\r\nThe font is attached. \r\n[Verona-Xlight.ttf.zip](https://github.com/devongovett/fontkit/files/179837/Verona-Xlight.ttf.zip)\r\n\r\nFontkit version 1.2.1"},"comment":{"url":"https://api.github.com/repos/devongovett/fontkit/issues/comments/198446364","html_url":"https://github.com/devongovett/fontkit/issues/30#issuecomment-198446364","issue_url":"https://api.github.com/repos/devongovett/fontkit/issues/30","id":198446364,"user":{"login":"devongovett","id":19409,"avatar_url":"https://avatars.githubusercontent.com/u/19409?v=3","gravatar_id":"","url":"https://api.github.com/users/devongovett","html_url":"https://github.com/devongovett","followers_url":"https://api.github.com/users/devongovett/followers","following_url":"https://api.github.com/users/devongovett/following{/other_user}","gists_url":"https://api.github.com/users/devongovett/gists{/gist_id}","starred_url":"https://api.github.com/users/devongovett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devongovett/subscriptions","organizations_url":"https://api.github.com/users/devongovett/orgs","repos_url":"https://api.github.com/users/devongovett/repos","events_url":"https://api.github.com/users/devongovett/events{/privacy}","received_events_url":"https://api.github.com/users/devongovett/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T16:42:52Z","updated_at":"2016-03-18T16:42:52Z","body":"Apple's ftxdumperfuser generates this output:\r\n\r\n```xml\r\n<KERNTable version=\"0\" subtableCount=\"1\" >\r\n\t<kernSubtable format=\"0\" version=\"0\" length=\"6\" coverage=\"0x8000\" kernVertical=\"yes\" kernMinimum=\"no\" kernCrossStream=\"no\" kernOverride=\"no\" >\r\n\t</kernSubtable>\r\n</KERNTable>\r\n```\r\n\r\nThe length of the subtable is too short."}}