Skip to content

raeffs/glyphhanger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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" raeffs/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

About

A docker image that has Glyphhanger preinstalled.

Topics

Resources

License

Stars

Watchers

Forks