Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/symbitic/msdf-atlas-gen

Wrapper for msdf-atlas-gen written in TypeScript.
https://github.com/symbitic/msdf-atlas-gen

Last synced: about 1 month ago
JSON representation

Wrapper for msdf-atlas-gen written in TypeScript.

Awesome Lists containing this project

README

        

# msdf-atlas-gen

Utility for generating mtsdf fonts. Based off `https://github.com/Butterwell/mtsdf-fonts`

Written mainly for my upcoming project: XR-Tag.

## Usage

```
Usage: msdf-atlas-gen [options]

Utility for generating compact font atlases using msdfgen

Arguments:
font ttf/otf file or Google Font family

Options:
-V, --version output the version number
-f, --format image format (choices: "bin", "binfloat", "bmp", "text", "textfloat", "tiff", "png" (default))
-i, --image Output image file
-j, --json Output JSON file
-t, --js Output JavaScript file
-w, --weight Font weight (default: 400)
-h, --help display help for command
```

`font` can be a font file or the name of a font family available on Google Fonts.