Skip to content
/ woff Public

Converter for Web Open Font Format

License

Notifications You must be signed in to change notification settings

bodoni/woff

Repository files navigation

WOFF Package Documentation Build

The package provides a converter for Web Open Font Format.

Installation

cargo install --features binary woff

Usage

Usage: woff <source> <destination> [options]

Either the source or destination should end with either .woff or .woff2.

Options for WOFF:
    --major-version <number> — set the major version (1 by default)
    --minor-version <number> — set the minor version (0 by default)

Options for WOFF2:
    --metadata <string> — append metadata (empty by default)
    --quality <number>  — set the compression quality (8 by default)
    --no-transform      — disallow transforms

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.