How can I include features from an external .fea file?


Which app version?


Version 2.5.1 (1141)

I just understanded how this work looking the temp folder. if I make an include in salt feature I dont need to add feature salt { ... }salt; in the .fea file. RIght?
Now my question is how can I have a normal fea file with all my features and include it?



Exactly! The code is inserted directly.

In the Prefix.




Hi, similar problem with "include” statement, when I try to export a variable font. It works fine with instances and OTFs.

There is an ‘include();’ statement with a relative path in the feature code (in XXXX) but the document is not saved yet.

I’ve added in the prefix under languagesystem:

languagesystem DFLT dflt;
languagesystem latn dflt;

languagesystem latn AZE;
languagesystem latn CAT;
languagesystem latn CRT;
languagesystem latn KAZ;
languagesystem latn MOL;
languagesystem latn NLD;
languagesystem latn ROM;
languagesystem latn TAT;
languagesystem latn TRK;

include (features/familyFeatures.fea);

I’m using latest version of cutting edge.



What version of Glyphs do you have?


Version 2.5.2 (1187)


any update? :slight_smile:


Glyphs needs to replace the include path with the actual path when exporting. But the replacement code doesn’t like the space between the include and the (. Please remove it for now.