Hey, just looking for a little more clarity around how includes work when referencing external .fea files. I know there’s a brief mention of this feature in the release blog post for 2.4.2 (https://glyphsapp.com/blog/glyphs-2-4-2-released), which has been handy. Couple of questions:
Is it possible to include two different files one after the other, in the one feature (to logically separate information, and for organisational purposes)? I.e. in calt:
include(classes.fea);
include(calt.fea);
When I try this, I get a MakeOTF error displaying a filepath. Both files are in the same folder as the Glyphs file.
From what I understand (according to the Microsoft OT spec), it should be possible to include a .fea file from inside a .fea file. When I try this (as an alternative to the above), I get a MakeOTF error telling me the feature file was “not found” (again, everything in the root directory, named correctly etc).
Thanks for any insight! And, thank you for introducing the ability to reference external files natively. Very handy
Yes, I understand this all ultimately gets placed into one .fea file. I am currently using the Glyphs GUI (File Info > Features) to manage feature blocks and some handy Glyphs-generated classes (AllLetters and All). Then I am using the include statement to reference external files within features with more long-form code, as I prefer doing this in my code editor.
I don’t understand the question, sorry.
I’m running the latest stable version (2.4.4) (no desire/need at this point to use a beta). I’m more curious about what Glyphs accepts as correct use of the include statement. Is using two include statements in one feature block supported?