百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

homebrew-webfonttools

> 编程语言
开源

字体工具的 Homebrew 公式

363 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

字体工具的 Homebrew 公式

Homebrew web font tools

bash
brew tap bramstein/webfonttools
brew install woff2

Or install any of the following formulas with brew install :

  • afdko: The Adobe Font Development Kit for OpenType.
  • sfnt2woff: Tool for converting TrueType and OpenType font files to WOFF made by Jonathan Kew. This installs two utilities sfnt2woff to compress and woff2sfnt to decompress.
  • sfnt2woff-zopfli: Modified version of sfnt2woff that uses the Zopfli compression algorithm (2-5% better compression than standard WOFF). This installs two utilities sfnt2woff-zopfli to compress and woff2sfnt-zopfli to decompress.
  • woff2: WOFF2 compression and decompression utilities by Google. This installs two utilities woff2_compress to compress and woff2_decompress to decompress.
  • ttf2eot: Tool for converting TrueType font files to the embedded OpenType format (EOT). Does not include MTX compression. The installed utility is called ttf2eot.
  • sfntly: Google's subsetting and font conversion tools. This will install two utilities called sfnttool and fontinfo. The sfnttool utility performs subsetting and can also create WOFF and EOT files. The fontinfo utility shows you information about a font.
  • fonttools: TTX/fonttools (this package is now in homebrew-core, you can brew install it without this tap).
  • ots: OpenType sanitiser

Recommendations

So which tool should you use to create web fonts? I recommend the following because they create the smallest possible font files:

  • WOFF2: Use woff2.
  • WOFF: Use sfnt2woff-zopfli if you're generating static files, use sfnt2woff or fonttools if you're dynamically generating WOFF files.
  • EOT: Use sfntly's sfnttool with the -e and -x options to generate compressed EOT files.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言