Releases: filamentgroup/glyphhanger
glyphhanger 3.2.0
Adds new --jsdom
mode (works with standard input)
Issues listed on Milestone.
glyphhanger 3.1.0
Your web font utility belt. It can subset web fonts. It can show you what unicode-ranges are used on a web site (optionally per font-family). It can also subset web fonts automatically using the unicode-ranges it found. It makes julienne fries.
- Adds
--cssSelector
to target a specific portion of a page (#17, #46) Thanks @patrickkettner! - Adds
--onlyVisible
to only return text that is visible on a page (#11, #44) Thanks @patrickkettner! - Warn if HTTP code is not 200 OK (#40, #47) Thanks @patrickkettner!
--css
now required when using--subset
to generate a CSS file (#53)- Subset result improvement when code uses
font-variant: small-caps
(#51) - CSP error when using local test files (#52)
--subset
failed when the font file had spaces in the filename (#50)
All listed on the Milestone.
glyphhanger v3.0.2
Your web font utility belt. It shows what unicode-ranges are used on a web site (optionally for a font-family or for each font-family). It can also subset web fonts. It makes julienne fries.
Small bug fix release: https://github.com/filamentgroup/glyphhanger/issues?q=is%3Aclosed+milestone%3Av3.0.2
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
glyphhanger 2.0
Outputs Unicode code points by default now (formerly the --unicodes
option). For the previous output use --string
.
- README
- Other closed issues
glyphhanger v1.0.2
- Fixed issues
- README
- Install with
npm install glyphhanger