#font #true-type #opentype #woff2

bin+lib woff

The package provides a converter for Web Open Font Format

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

#1900 in Parser implementations

Download history 98/week @ 2024-11-16 224/week @ 2024-11-23 155/week @ 2024-11-30 378/week @ 2024-12-07 74/week @ 2024-12-14 323/week @ 2024-12-21 311/week @ 2024-12-28 100/week @ 2025-01-04 99/week @ 2025-01-11 129/week @ 2025-01-18 45/week @ 2025-01-25 49/week @ 2025-02-01 26/week @ 2025-02-08 49/week @ 2025-02-15 592/week @ 2025-02-22 259/week @ 2025-03-01

938 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