Automic VaultAutomic Vault

brew

Install woff2 with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Utilities to create and convert Web Open Font File (WOFF) files. Version 1.0.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install woff2

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install woff2

MacPorts ports tree · print/woff2/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libwoff2common

Alpine Linux edge package indexes · libwoff2common · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libwoff-dev

Debian stable package indexes · libwoff-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install woff2

Fedora Rawhide package metadata · woff2 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#woff2

nixpkgs package indexes · pkgs/by-name/wo/woff2/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S woff2

Arch Linux sync databases · woff2 · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libwoff2common1_0_2

openSUSE Tumbleweed package metadata · libwoff2common1_0_2 · source: download.opensuse.org

overview

Package summary

Utilities to create and convert Web Open Font File (WOFF) files

Commands and aliases

  • woff2_compress
  • woff2_decompress
  • woff2_info

history

Project history and usage

WOFF2 is both a W3C web-font packaging standard and, in package-manager form, Google's reference C++ encoder/decoder utilities for the format. The format improves on WOFF 1.0 by combining font-aware preprocessing with Brotli compression so web fonts can be transferred more compactly while remaining suitable for CSS @font-face deployment.

Project history

The W3C publication history records WOFF2's First Public Working Draft on 8 May 2014, Working Draft in 2015, Candidate Recommendation Snapshot in 2016, Proposed Recommendation in January 2018, and Recommendation on 1 March 2018, with later Recommendation updates in 2021, 2022, and 2024. The current W3C Recommendation says WOFF2 was developed from experience with widely deployed WOFF 1.0 and was designed to reduce network bandwidth while keeping decompression fast enough for mobile devices.

Google's woff2 repository was created in October 2014 and provides the font compression reference code. Its README separates the Brotli reference code from the C++ font compression and decompression code, and the repository's releases show 1.0.0 and 1.0.1 in October 2017 followed by 1.0.2 in November 2017, just before the format reached W3C Recommendation status.

Adoption history

WOFF2 moved from an optimization experiment into the default web-font format because it could be deployed alongside WOFF 1.0 in normal CSS. The W3C Evaluation Report explained that @font-face can list WOFF2 first and WOFF as a fallback without user-agent sniffing, and the current Recommendation states that WOFF2 is implemented in all major browsers and widely used on production websites.

The format's adoption was tied to measurable compression gains. The W3C Evaluation Report found Brotli-based WOFF2 had median gains of about 23.94% over WOFF1 on the Google Fonts TrueType corpus and 26.79% on an Adobe TrueType corpus, while keeping memory and decompression cost within the constraints needed for web deployment.

How it is used

Package users normally run woff2_compress to convert TTF or OTF fonts into .woff2 files, woff2_decompress to round-trip them back to OpenType/SFNT data, and woff2_info to inspect the package. Web developers then reference .woff2 files from CSS @font-face rules, often with older formats as fallbacks only when legacy browser support is required.

Why package nerds care

The package is important because it gives distributions a small, standalone implementation of a core web platform format. It is used by font build pipelines, web asset optimizers, browser tests, and packaging workflows that need reproducible conversion between OpenType fonts and the compressed format browsers actually fetch.

Timeline

  • 2014: WOFF2 First Public Working Draft published by W3C and Google's woff2 repository created.
  • 2016: WOFF 2.0 Evaluation Report published as a W3C Working Group Note, comparing compression candidates and deployment constraints.
  • 2017: Google woff2 1.0.x releases published.
  • 2018: WOFF2 became a W3C Recommendation.
  • 2024: W3C published an updated WOFF2 Recommendation and implementation report material.

Related projects

  • WOFF 1.0 is WOFF2's predecessor and remains the fallback format in many historical CSS examples.
  • Brotli is the entropy-coding layer used by WOFF2; the W3C Recommendation records Google's royalty-free licensing commitment for Brotli use in the specification.
  • FontTools implements WOFF2 support in Python and is listed in the W3C implementation report alongside Google's C++ woff2 implementation.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
woff2_compresscliglobal executable
woff2_decompresscliglobal executable
woff2_infocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.0.2
manager updated
local dataok
upstreamcurrent
latest detectedv1.0.2

https://github.com/google/woff2

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:woff2
Version1.0.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/woff2
Homepagehttps://github.com/google/woff2
Repositoryhttps://github.com/google/woff2
Upstream docshttps://github.com/google/woff2#readme
LicenseMIT
Source archivehttps://github.com/google/woff2/archive/refs/tags/v1.0.2.tar.gz
Dependenciesbrotli
Build dependenciescmake
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewoff2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libwoff-dev 1.0.2-2+b2

library for converting fonts to WOFF 2.0 - development files

https://github.com/google/woff2

sudo apt install libwoff-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: woff2
  • 2 dependencies
  • normalized package name match
  • Matched by: Woff2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libwoff-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libwoff1 1.0.2-2+b2

library for converting fonts to WOFF 2.0

https://github.com/google/woff2

sudo apt install libwoff1
  • Section: libs
  • Architecture: amd64
  • Source Package: woff2
  • 4 dependencies
  • normalized package name match
  • Matched by: Woff2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libwoff1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

woff2 1.0.2-2+b2

utilities for converting fonts to WOFF 2.0

https://github.com/google/woff2

sudo apt install woff2
  • Section: utils
  • Architecture: amd64
  • Source Package: woff2
  • 4 dependencies
  • normalized package name match
  • Matched by: Woff2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: woff2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

woff2

nix profile install nixpkgs#woff2
  • normalized package name match
  • Matched by: Woff2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wo/woff2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libwoff-dev 1.0.2-2build1

library for converting fonts to WOFF 2.0 - development files

https://github.com/google/woff2

sudo apt install libwoff-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: woff2
  • 2 dependencies
  • normalized package name match
  • Matched by: Woff2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libwoff-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libwoff1 1.0.2-2build1

library for converting fonts to WOFF 2.0

https://github.com/google/woff2

sudo apt install libwoff1
  • Section: libs
  • Architecture: amd64
  • Source Package: woff2
  • 4 dependencies
  • normalized package name match
  • Matched by: Woff2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libwoff1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

woff2 1.0.2-2build1

utilities for converting fonts to WOFF 2.0

https://github.com/google/woff2

sudo apt install woff2
  • Section: universe/utils
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Woff2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: woff2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libwoff2common 1.0.2-r4

Web Open Font Format 2 reference implementation (common library)

https://github.com/google/woff2

sudo apk add libwoff2common
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: woff2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Woff2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libwoff2common from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libwoff2dec 1.0.2-r4

Web Open Font Format 2 reference implementation (encoder library)

https://github.com/google/woff2

sudo apk add libwoff2dec
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: woff2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Woff2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libwoff2dec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libwoff2enc 1.0.2-r4

Web Open Font Format 2 reference implementation (decoder library)

https://github.com/google/woff2

sudo apk add libwoff2enc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: woff2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Woff2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libwoff2enc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

woff2 1.0.2-r4

Web Open Font Format 2 reference implementation

https://github.com/google/woff2

sudo apk add woff2
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: woff2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Woff2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: woff2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

woff2-dev 1.0.2-r4

Web Open Font Format 2 reference implementation (development files)

https://github.com/google/woff2

sudo apk add woff2-dev
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: woff2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Woff2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: woff2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

woff2 1.0.2-25.fc44

Web Open Font Format 2.0 library

https://github.com/google/woff2

sudo dnf install woff2
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: woff2
  • 6 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Woff2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: woff2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

woff2-devel 1.0.2-25.fc44

Development files for woff2

https://github.com/google/woff2

sudo dnf install woff2-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: woff2
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Woff2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: woff2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

woff2-tools 1.0.2-25.fc44

Web Open Font Format 2.0 tools

https://github.com/google/woff2

sudo dnf install woff2-tools
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: woff2
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Woff2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: woff2-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

woff2 1.0.2-6

Web Open Font Format 2 reference implementation

https://github.com/google/woff2

sudo pacman -S woff2
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Woff2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: woff2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment