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

glyphhanger v3.0.1

Compare
Choose a tag to compare
@zachleat zachleat released this 27 Feb 23:20
· 49 commits to master since this release
  • Large-ish rewrite using Puppeteer (headless Chrome) instead of aging PhantomJS.
  • Requires node version 8.
  • Adds --json to segment results for each font-family on a page.
  • Adds --family='Open Sans, Roboto' to show results for one or more font-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 correct unicode-range already included). Pairs nicely with --subset to put in the correct src 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 is 30000 ms).
  • Now uses spider-pig for the spider internally.
  • Adds a ton more tests. Running on Travis CI

Full GitHub Milestone