Skip to content

JacobLinCool/font-reporter

Repository files navigation

font-reporter

Generate report of a font. Check if all characters are supported by a collection of fonts.

  • Input formats: ttf, otf, woff, woff2
  • Output formats: json, text, html, pdf

Example

See example

Install

npm i -g font-reporter

Usage

font-reporter --help
font-reporter check --help

Docker

There are two images are available:

  • jacoblincool/font-reporter:lite: lightweight version, without PDF generator. (default output format: HTML)
  • jacoblincool/font-reporter:latest: full version, with PDF generator. (default output format: PDF)

You can find them on Docker Hub or GHCR.

Docker Usage

# Generate PDF reports of all fonts in the current directory
docker run --rm -v "$(pwd):/data" jacoblincool/font-reporter
# Generate HTML reports of all fonts in the current directory
docker run --rm -v "$(pwd):/data" jacoblincool/font-reporter -f html