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

Removing original font files with --in-place and --no-fallbacks #134

Open
thewilkybarkid opened this issue Jan 22, 2021 · 5 comments
Open

Comments

@thewilkybarkid
Copy link

I'm trying out running subfont after a parcel build (refs #78):

subfont --harfbuzz --in-place --no-fallbacks 

It works great, but the original font files are left behind in my build directly, but are unlinked. Is it possible to have them deleted?

@papandreou
Copy link
Collaborator

Not presently, but it seems like a nice feature to have for tidiness. I guess it's generally not that big a problem to leave them around in the build unlinked, though? An extra megabyte's worth of charges in your S3 bucket?

@papandreou
Copy link
Collaborator

How has --harfbuzz been working for you, btw.? Have you noticed any glitches with the subset font files?

@thewilkybarkid
Copy link
Author

Not presently, but it seems like a nice feature to have for tidiness. I guess it's generally not that big a problem to leave them around in the build unlinked, though? An extra megabyte's worth of charges in your S3 bucket?

Indeed, not much of a problem, they're just redundant. I'm deleting them manually for the moment, but it'd be happy to have a less risky option.

How has --harfbuzz been working for you, btw.? Have you noticed any glitches with the subset font files?

I really like the idea of not having to go through Python; it seems to work pretty well, but I've turned it off for the moment as it doesn't include contextual alternates.

@papandreou
Copy link
Collaborator

A very similar feature request came up here: Munter/hyperlink#191

Maybe we could serve both use cases with a standalone tool. Looks like the main blocker is still that we don't have a good name for it -- and that it hasn't been created yet 😅

@papandreou
Copy link
Collaborator

How has --harfbuzz been working for you, btw.? Have you noticed any glitches with the subset font files?

I really like the idea of not having to go through Python; it seems to work pretty well, but I've turned it off for the moment as it doesn't include contextual alternates.

Okay, thanks. It'll get there!

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

No branches or pull requests

2 participants