Ability to run without puppeteer?
milewski opened this issue · 1 comments
milewski commented
Hi my use case is simple reading from a static .txt file and getting the fonts out however im not able to do it without installing chromium... is there any way i can explicitly disable this chrome check?
glyphhanger --whitelist=$(cat wordlist.txt) --subset=NotoSerifSC/*.otf --output=somedir
GlyphHanger Fetch Error: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
at Launcher.launch (/Users/milewski/Code/fuse-mobile-website/node_modules/puppeteer/lib/Launcher.js:119:15)
U+65,U+68,U+6C,U+6F
milewski commented
Sorry my bad, the wordlist.txt is full of white space ... wrapping the expression in quotes works
glyphhanger --whitelist="$(cat wordlist.txt)" --subset=NotoSerifSC/*.otf --output=somedir
works