Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Version without puppeteer as a dependency #66

Open
Jab2870 opened this issue Apr 11, 2019 · 1 comment
Open

Version without puppeteer as a dependency #66

Jab2870 opened this issue Apr 11, 2019 · 1 comment

Comments

@Jab2870
Copy link

Jab2870 commented Apr 11, 2019

I use this package in the following way

glyphhanger --US_ASCII --whitelist=’‘£°© --formats=ttf,woff,woff2 --subset=/path/to/fonts*/*.ttf

It works brilliantly but I don't ever need puppeteer and it (with chromium) makes for a very heavy download which I don't need.

If you were to release a glyphhanger "light" that didn't try to crawl web pages, and just created a subset based on the options given, it would do everything I need it to.

@kaiterramike
Copy link

I'm currently getting an error message when installing (see #73), and that error message suggests a way to skip the Chromium download:

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 sudo -E npm install -g glyphhanger

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

No branches or pull requests

2 participants