googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
152 stars 43 forks source link

Add feaIncludeDir option to allow override the include search path #637

Closed anthrotype closed 2 years ago

anthrotype commented 2 years ago

This is intended to fix https://github.com/googlefonts/glyphsLib/issues/797, by allowing fontmake to override the default include directory used for parsing a UFO features.fea; useful when the UFOs were generated from a .glyphs source whose features contain some include statements and they are saved in a different directory (or not saved to disk at all).

fontmake will need to be modified to call ufo2ft with this new option when starting to build from a .glyphs input.