-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extractor does not generate features.fea for OpenType features #49
Comments
Makes sense. |
I'm not sure how to add support for this.... 😅 There seem to be a library that does that though: https://github.com/simoncozens/fontFeatures |
Think I got it working now. Actually VFB module does have feature in it which surprise me for a sec there. I used the same parameter name as that. |
Thank you! |
Just wondering, should we pass the |
@benkiel , CC @simoncozens |
Do not add all options fontFeatures offers to unparse, extractor just extracts from various formats to UFO. |
@NightFurySL2001 Agree with @typemytype, for this you don't want the gdef and the default in fontFeatures is to do the lookups, which is what you want. I'm looking at see if it may be possible to just use fontTools for this instead of importing another package, but for now this is good and needs nothing else. |
All UFO files generated by extractor does not produce the Adobe OpenType Feature File
features.fea
according to UFO 3 specification. This will make the font lose all OpenType features when converting into UFO. (UFO export of FontForge did includefeatures.fea
.Since this is using
fontTools
for binary OpenType font file, thefeaLib
can be used to accomplish the task. The main OpenType tables involved are GSUB, GPOS and GDEF.The text was updated successfully, but these errors were encountered: