Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (18 loc) · 1 KB

README.md

File metadata and controls

29 lines (18 loc) · 1 KB

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