13 unstable releases (6 breaking)

0.6.1 Feb 28, 2025
0.5.0 Feb 27, 2025
0.3.4 Dec 29, 2024
0.3.3 Apr 19, 2024
0.0.1 Feb 7, 2023

#1188 in Parser implementations

Download history 366/week @ 2024-12-06 101/week @ 2024-12-13 264/week @ 2024-12-20 368/week @ 2024-12-27 75/week @ 2025-01-03 114/week @ 2025-01-10 127/week @ 2025-01-17 40/week @ 2025-01-24 58/week @ 2025-01-31 35/week @ 2025-02-07 46/week @ 2025-02-14 320/week @ 2025-02-21 550/week @ 2025-02-28 124/week @ 2025-03-07 27/week @ 2025-03-14 116/week @ 2025-03-21

984 downloads per month
Used in cn-font-split

Apache-2.0/MIT

1.5MB
25K SLoC

C 22K SLoC // 0.1% comments C++ 3.5K SLoC // 0.1% comments Rust 383 SLoC Shell 23 SLoC Bazel 20 SLoC // 0.2% comments

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.

Dependencies