Skip to content
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

Use fontFeatures to extract OpenType features #54

Merged
merged 1 commit into from Jun 8, 2023

Conversation

NightFurySL2001
Copy link
Contributor

Fix #49

@benkiel
Copy link
Member

benkiel commented Jun 8, 2023

LGTM

@benkiel benkiel merged commit 31576d4 into robotools:master Jun 8, 2023
8 checks passed
@typemytype
Copy link
Member

can this option be optional?

it super silly to embed 106mb of pure numpy just to extract features...

image

@simoncozens I guess it must be possible to reduce dependencies for fontFeatures

@simoncozens
Copy link

Probably, yes. It looks like the numpy dependency is coming in through beziers.py. I should rip out all the beziers/path related stuff from fontFeatures so that it only deals with feature code.

@typemytype
Copy link
Member

that would be super!

the first import of numpy via fontFeatures is in glyphTools.ckmeans

@benkiel
Copy link
Member

benkiel commented Jul 14, 2023

@typemytype I'm going to make fontFeatures an optional install, fyi. Just haven't gotten to it yet. Next week.

@simoncozens
Copy link

fontFeatures 1.8.0 now has greatly reduced dependencies.

@NightFurySL2001
Copy link
Contributor Author

@simoncozens verified, pyinstaller build went down from ~42MB to ~12MB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extractor does not generate features.fea for OpenType features
4 participants