macOS
brew install woff2local Homebrew formula metadata
sudo port install woff2MacPorts ports tree · print/woff2/Portfile · source: api.github.com
brew
Utilities to create and convert Web Open Font File (WOFF) files. Version 1.0.2 via Homebrew; verified from local package data.
install
brew install woff2local Homebrew formula metadata
sudo port install woff2MacPorts ports tree · print/woff2/Portfile · source: api.github.com
sudo apk add libwoff2commonAlpine Linux edge package indexes · libwoff2common · source: dl-cdn.alpinelinux.org
sudo apt install libwoff-devDebian stable package indexes · libwoff-dev · source: deb.debian.org
sudo dnf install woff2Fedora Rawhide package metadata · woff2 · source: dl.fedoraproject.org
nix profile install nixpkgs#woff2nixpkgs package indexes · pkgs/by-name/wo/woff2/package.nix · source: api.github.com
sudo pacman -S woff2Arch Linux sync databases · woff2 · source: geo.mirror.pkgbuild.com
sudo zypper install libwoff2common1_0_2openSUSE Tumbleweed package metadata · libwoff2common1_0_2 · source: download.opensuse.org
overview
Utilities to create and convert Web Open Font File (WOFF) files
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
woff2_compress | cli | global executable | |
woff2_decompress | cli | global executable | |
woff2_info | cli | global executable |
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.
https://github.com/google/woff2
install metadata
| Package key | brew:woff2 |
|---|---|
| Version | 1.0.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/woff2 |
| Homepage | https://github.com/google/woff2 |
| Repository | https://github.com/google/woff2 |
| Upstream docs | https://github.com/google/woff2#readme |
| License | MIT |
| Source archive | https://github.com/google/woff2/archive/refs/tags/v1.0.2.tar.gz |
| Dependencies | brotli |
| Build dependencies | cmake |
| Bottle | available (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-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | woff2 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-devlibwoff1 1.0.2-2+b2
library for converting fonts to WOFF 2.0
https://github.com/google/woff2
sudo apt install libwoff1woff2 1.0.2-2+b2
utilities for converting fonts to WOFF 2.0
https://github.com/google/woff2
sudo apt install woff2woff2
nix profile install nixpkgs#woff2libwoff-dev 1.0.2-2build1
library for converting fonts to WOFF 2.0 - development files
https://github.com/google/woff2
sudo apt install libwoff-devlibwoff1 1.0.2-2build1
library for converting fonts to WOFF 2.0
https://github.com/google/woff2
sudo apt install libwoff1woff2 1.0.2-2build1
utilities for converting fonts to WOFF 2.0
https://github.com/google/woff2
sudo apt install woff2libwoff2common 1.0.2-r4
Web Open Font Format 2 reference implementation (common library)
https://github.com/google/woff2
sudo apk add libwoff2commonlibwoff2dec 1.0.2-r4
Web Open Font Format 2 reference implementation (encoder library)
https://github.com/google/woff2
sudo apk add libwoff2declibwoff2enc 1.0.2-r4
Web Open Font Format 2 reference implementation (decoder library)
https://github.com/google/woff2
sudo apk add libwoff2encwoff2 1.0.2-r4
Web Open Font Format 2 reference implementation
https://github.com/google/woff2
sudo apk add woff2woff2-dev 1.0.2-r4
Web Open Font Format 2 reference implementation (development files)
https://github.com/google/woff2
sudo apk add woff2-devwoff2 1.0.2-25.fc44
Web Open Font Format 2.0 library
https://github.com/google/woff2
sudo dnf install woff2woff2-devel 1.0.2-25.fc44
Development files for woff2
https://github.com/google/woff2
sudo dnf install woff2-develwoff2-tools 1.0.2-25.fc44
Web Open Font Format 2.0 tools
https://github.com/google/woff2
sudo dnf install woff2-toolswoff2 1.0.2-6
Web Open Font Format 2 reference implementation
https://github.com/google/woff2
sudo pacman -S woff2source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.