This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
glyphhanger v3.0.1
- Large-ish rewrite using Puppeteer (headless Chrome) instead of aging PhantomJS.
- Requires node version 8.
- Adds
--json
to segment results for eachfont-family
on a page. - Adds
--family='Open Sans, Roboto'
to show results for one or morefont-family
names. Pairs nicely with--subset
to create new files for a specific web font already in use on a static page. - Adds
--css
to output@font-face
blocks for each font on a page (with correctunicode-range
already included). Pairs nicely with--subset
to put in the correctsrc
values for your subset files (will also create CSS files for you). - Extracts content from pseudo elements
:before
and:after
. This allows glyphhanger to work well with icon fonts. - Adds
--LATIN
as a shortcut for whitelisting all of Latin character sets. Similar to already supported--US_ASCII
. - Adds
--output
to change the output directory any files created: CSS files and new subset web fonts. - Adds debug output, for example:
DEBUG=glyphhanger glyphhanger http://example.com/
In this same vein, this release also removes--verbose
. - Adds
--timeout
to change the timeout per URL (in millseconds, the default is30000
ms). - Now uses
spider-pig
for the spider internally. - Adds a ton more tests. Running on Travis CI