Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 woff2

查看 woff2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install woff2

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install woff2

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add woff2

Alpine Linux edge package indexes · woff2 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install woff2

Debian stable package indexes · woff2 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install woff2

Fedora Rawhide package metadata · woff2 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#woff2

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

Arch Linux pacman已验证 · 92%
sudo pacman -S woff2

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

openSUSE zypper已验证 · 92%
sudo zypper install woff2

openSUSE Tumbleweed package metadata · woff2 · 来源: download.opensuse.org

概览

软件包摘要

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

命令和别名

  • woff2_compress
  • woff2_decompress
  • woff2_info

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:compress

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
woff2_compresscli全局可执行文件
woff2_decompresscli全局可执行文件
woff2_infocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.0.2
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.0.2

https://github.com/google/woff2

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:woff2
版本1.0.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/woff2
主页https://github.com/google/woff2
仓库https://github.com/google/woff2
上游文档https://github.com/google/woff2#readme
许可证MIT
源码归档https://github.com/google/woff2/archive/refs/tags/v1.0.2.tar.gz
依赖brotli
构建依赖cmake
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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