Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jacoblincool/font-reporter

Generate report of a font (ttf, otf, woff, woff2) in PDF, HTML, JSON, or pure text.
https://github.com/jacoblincool/font-reporter

font report

Last synced: 12 days ago
JSON representation

Generate report of a font (ttf, otf, woff, woff2) in PDF, HTML, JSON, or pure text.

Awesome Lists containing this project

README

        

# 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](example)

## Install

```sh
npm i -g font-reporter
```

## Usage

```sh
font-reporter --help
```

```sh
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](https://hub.docker.com/r/jacoblincool/font-reporter/) or GHCR.

### Docker Usage

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

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