Glyphhanger Docker Image
A docker image that has Glyphhanger preinstalled. It can be used to easily subset webfonts, so that they only contain the glyphs required. Only supports JSDOM mode!
Usage
You can run the container directly with docker. The files to process should be mounted to the /app
folder within the container:
docker run --rm -v "/dist:/app" talentplatforms/glyphhanger index.html --jsdom --subset=*.woff
For all available options please refer to the Glyphhanger Documentation.
Windows
On docker for windows you need to provide an absolute url for the path to mount:
docker run --rm -v "D:\dist:/app" raeffs/glyphhanger index.html --jsdom --subset=*.woff
Attributions
Icon made by Freepik from www.flaticon.com