{"action":"closed","issue":{"url":"https://api.github.com/repos/behdad/fonttools/issues/441","labels_url":"https://api.github.com/repos/behdad/fonttools/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/behdad/fonttools/issues/441/comments","events_url":"https://api.github.com/repos/behdad/fonttools/issues/441/events","html_url":"https://github.com/behdad/fonttools/issues/441","id":124595990,"number":441,"title":"[feaLib] support the inline feature keyword","user":{"login":"adrientetar","id":1250894,"avatar_url":"https://avatars.githubusercontent.com/u/1250894?v=3","gravatar_id":"","url":"https://api.github.com/users/adrientetar","html_url":"https://github.com/adrientetar","followers_url":"https://api.github.com/users/adrientetar/followers","following_url":"https://api.github.com/users/adrientetar/following{/other_user}","gists_url":"https://api.github.com/users/adrientetar/gists{/gist_id}","starred_url":"https://api.github.com/users/adrientetar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrientetar/subscriptions","organizations_url":"https://api.github.com/users/adrientetar/orgs","repos_url":"https://api.github.com/users/adrientetar/repos","events_url":"https://api.github.com/users/adrientetar/events{/privacy}","received_events_url":"https://api.github.com/users/adrientetar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"brawer","id":1527880,"avatar_url":"https://avatars.githubusercontent.com/u/1527880?v=3","gravatar_id":"","url":"https://api.github.com/users/brawer","html_url":"https://github.com/brawer","followers_url":"https://api.github.com/users/brawer/followers","following_url":"https://api.github.com/users/brawer/following{/other_user}","gists_url":"https://api.github.com/users/brawer/gists{/gist_id}","starred_url":"https://api.github.com/users/brawer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brawer/subscriptions","organizations_url":"https://api.github.com/users/brawer/orgs","repos_url":"https://api.github.com/users/brawer/repos","events_url":"https://api.github.com/users/brawer/events{/privacy}","received_events_url":"https://api.github.com/users/brawer/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-01-02T15:34:57Z","updated_at":"2016-01-11T17:16:05Z","closed_at":"2016-01-11T17:16:05Z","body":"Given the following feature file:\r\n\r\n```\r\nlanguagesystem DFLT dflt;\r\n\r\nfeature aalt {\r\n    feature sups;\r\n} aalt;\r\n\r\nfeature sups {\r\n    sub one by onesuperior;\r\n    sub two by twosuperior;\r\n    sub three by threesuperior;\r\n} sups;\r\n```\r\n\r\nI get the following traceback:\r\n\r\n```\r\nwarning: unnamed anchor discarded in section\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\Admin\\Downloads\\trufont\\Lib\\defconQt\\fontView.py\", line 900, in exportFile\r\n    otf = compileOTF(self.font)\r\n  File \"C:\\Python34\\lib\\site-packages\\ufo2ft-0.1-py3.4.egg\\ufo2ft\\__init__.py\", line 32, in compileOTF\r\n    featureCompilerClass, kernWriter, markWriter)\r\n  File \"C:\\Python34\\lib\\site-packages\\ufo2ft-0.1-py3.4.egg\\ufo2ft\\__init__.py\", line 18, in _compile\r\n    feasrc = featureCompiler.compile()\r\n  File \"C:\\Python34\\lib\\site-packages\\ufo2ft-0.1-py3.4.egg\\ufo2ft\\makeotfParts.py\", line 28, in compile\r\n    self.setupFile_featureTables()\r\n  File \"C:\\Python34\\lib\\site-packages\\ufo2ft-0.1-py3.4.egg\\ufo2ft\\makeotfParts.py\", line 166, in setupFile_featureTables\r\n    addOpenTypeFeatures(fea_path, self.outline)\r\n  File \"C:\\Python34\\lib\\site-packages\\fonttools-3.0-py3.4.egg\\fontTools\\feaLib\\builder.py\", line 12, in addOpenTypeFeatures\r\n    builder.build()\r\n  File \"C:\\Python34\\lib\\site-packages\\fonttools-3.0-py3.4.egg\\fontTools\\feaLib\\builder.py\", line 37, in build\r\n    self.parseTree = Parser(self.featurefile_path).parse()\r\n  File \"C:\\Python34\\lib\\site-packages\\fonttools-3.0-py3.4.egg\\fontTools\\feaLib\\parser.py\", line 41, in parse\r\n    statements.append(self.parse_feature_block_())\r\n  File \"C:\\Python34\\lib\\site-packages\\fonttools-3.0-py3.4.egg\\fontTools\\feaLib\\parser.py\", line 660, in parse_feature_block_\r\n    self.parse_block_(block, vertical)\r\n  File \"C:\\Python34\\lib\\site-packages\\fonttools-3.0-py3.4.egg\\fontTools\\feaLib\\parser.py\", line 702, in parse_block_\r\n    self.cur_token_location_)\r\nfontTools.feaLib.error.FeatureLibError: C:\\Users\\Admin\\AppData\\Local\\Temp\\tmpr4rwelbj:4:5: Expected glyph class definition or statement\r\n```\r\n\r\ni.e. the inline feature keyword in `aalt` isn't supported, see [Section 8.a](http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html#8.a) of the spec.\r\n\r\ncc @brawer"}}